Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dtrace: amd64 toolchain buid failure on OSX + fix



Hi!

When building an amd64 toolchain on OSX with MKDTRACE=yes,
I get this build failure:

tools/ctfconvert/../../external/cddl/osnet/sys/sys/time.h:71: error:
'CLOCK_REALTIME' undeclared (first use in this function)

The fix is to add attach file to tools/compat/sys/
Any comments ?

Christoph

P.S.: This mail is independent from my other mail subjected
'dtrace: amd64 toolchain build failure on OSX - libgcc'.

/*      $NetBSD: $      */

#if (defined(__APPLE__) && defined(__MACH__)) && !defined(__darwin__)
# define __darwin__     1
#endif

#ifdef __darwin__
#define CLOCK_REALTIME  0       /* XXX Keep this in sync with our sys/time.h */
#endif

#include_next <sys/time.h>


Home | Main Index | Thread Index | Old Index