|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r82799 - trunk/boost/interprocess/detail
From: igaztanaga_at_[hidden]
Date: 2013-02-09 19:30:07
Author: igaztanaga
Date: 2013-02-09 19:30:06 EST (Sat, 09 Feb 2013)
New Revision: 82799
URL: http://svn.boost.org/trac/boost/changeset/82799
Log:
Fixed #7924
Text files modified:
trunk/boost/interprocess/detail/workaround.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/interprocess/detail/workaround.hpp
==============================================================================
--- trunk/boost/interprocess/detail/workaround.hpp (original)
+++ trunk/boost/interprocess/detail/workaround.hpp 2013-02-09 19:30:06 EST (Sat, 09 Feb 2013)
@@ -110,6 +110,10 @@
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
#define BOOST_INTERPROCESS_BSD_DERIVATIVE
+ //Some *BSD systems (OpenBSD & NetBSD) need sys/param.h before sys/sysctl.h, whereas
+ //others (FreeBSD & Darwin) need sys/types.h
+ #include <sys/types.h>
+ #include <sys/param.h>
#include <sys/sysctl.h>
#if defined(CTL_KERN) && defined (KERN_BOOTTIME)
//#define BOOST_INTERPROCESS_HAS_KERNEL_BOOTTIME
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk