From owner-p4-projects@FreeBSD.ORG Tue Feb 28 20:39:20 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1CAB216A423; Tue, 28 Feb 2006 20:39:20 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2CBA16A420 for ; Tue, 28 Feb 2006 20:39:19 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C1DE643D7D for ; Tue, 28 Feb 2006 20:39:15 +0000 (GMT) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k1SKdF0k053173 for ; Tue, 28 Feb 2006 20:39:15 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k1SKdFJJ053170 for perforce@freebsd.org; Tue, 28 Feb 2006 20:39:15 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 28 Feb 2006 20:39:15 GMT Message-Id: <200602282039.k1SKdFJJ053170@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 92542 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2006 20:39:20 -0000 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 #include @@ -20538,6 +20539,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include #include @@ -20607,6 +20609,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include #include @@ -20654,6 +20657,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ +#include #include ==== //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 #include ]) AC_CHECK_MEMBER([struct ipc_perm.__seq], [AC_DEFINE(HAVE_IPC_PERM___SEQ,, Define if ipc_perm.__seq instead of seq)], [],[ +#include #include ])