PERFORCE change 96379 for review

John Birrell jb at
Sat Apr 29 23:18:30 UTC 2006

Change 96379 by jb at jb_freebsd2 on 2006/04/29 23:17:41

	When compiling Solaris source code, always define _SOLARIS_C_SOURCE
	so that the Solaris compatibility definitions in headers like
	sys/types.h are enabled.
	A down-side of doing this is that it creates an buildworld issue
	where bootstrap tools are expected to compile against the installed
	headers which might not include these compatibility definitions.
	Work around that by adding the sys tree to the include path.

Affected files ...

.. //depot/projects/dtrace/src/cddl/ edit
.. //depot/projects/dtrace/src/gnu/lib/libdwarf/Makefile#2 edit

Differences ...

==== //depot/projects/dtrace/src/cddl/ (text+ko) ====

@@ -2,3 +2,6 @@
+CFLAGS+=	-I${.CURDIR}/../../../sys

==== //depot/projects/dtrace/src/gnu/lib/libdwarf/Makefile#2 (text+ko) ====

@@ -25,6 +25,7 @@
 		-I${.CURDIR}/../../../sys/contrib \

More information about the p4-projects mailing list