PERFORCE change 92542 for review

Robert Watson rwatson at FreeBSD.org
Tue Feb 28 12:39:31 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=92542

Change 92542 by rwatson at rwatson_peppercorn on 2006/02/28 20:38:53

	Explicit include of sys/types.h to use sys/ipc.h; this is documented
	on required on all the platforms I've looked at, but apparently
	nested includes on most of them mean this didn't turn up intil a
	build on a recent Darwin.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/configure#13 edit
.. //depot/projects/trustedbsd/openbsm/configure.ac#15 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/configure#13 (xtext) ====

@@ -20491,6 +20491,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#include <sys/types.h>
 #include <sys/ipc.h>
 
 
@@ -20538,6 +20539,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#include <sys/types.h>
 #include <sys/ipc.h>
 
 
@@ -20607,6 +20609,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#include <sys/types.h>
 #include <sys/ipc.h>
 
 
@@ -20654,6 +20657,7 @@
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 
+#include <sys/types.h>
 #include <sys/ipc.h>
 
 

==== //depot/projects/trustedbsd/openbsm/configure.ac#15 (text+ko) ====

@@ -3,7 +3,7 @@
 
 AC_PREREQ(2.59)
 AC_INIT([OpenBSM], [1.0a5], [trustedbsd-audit at TrustesdBSD.org],[openbsm])
-AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#14 $])
+AC_REVISION([$P4: //depot/projects/trustedbsd/openbsm/configure.ac#15 $])
 AC_CONFIG_SRCDIR([bin/auditreduce/auditreduce.c])
 AC_CONFIG_AUX_DIR(config)
 AC_CONFIG_HEADER([config/config.h])
@@ -35,12 +35,14 @@
 AC_CHECK_MEMBER([struct ipc_perm.__key],
 [AC_DEFINE(HAVE_IPC_PERM___KEY,, Define if ipc_perm.__key instead of key)],
 [],[
+#include <sys/types.h>
 #include <sys/ipc.h>
 ])
 
 AC_CHECK_MEMBER([struct ipc_perm.__seq],
 [AC_DEFINE(HAVE_IPC_PERM___SEQ,, Define if ipc_perm.__seq instead of seq)],
 [],[
+#include <sys/types.h>
 #include <sys/ipc.h>
 ])
 


More information about the trustedbsd-cvs mailing list