Date: Tue, 28 Feb 2006 20:39:15 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 92542 for review Message-ID: <200602282039.k1SKdFJJ053170@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=92542 Change 92542 by rwatson@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@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> ])
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602282039.k1SKdFJJ053170>