* [gentoo-commits] gentoo-alt r1689 - trunk/baselayout-prefix/src
@ 2011-03-31 14:12 Fabian Groffen (grobian)
0 siblings, 0 replies; only message in thread
From: Fabian Groffen (grobian) @ 2011-03-31 14:12 UTC (permalink / raw
To: gentoo-commits
Author: grobian
Date: 2011-03-31 14:12:39 +0000 (Thu, 31 Mar 2011)
New Revision: 1689
Modified:
trunk/baselayout-prefix/src/start-stop-daemon.c
Log:
applied baselayout-1.12.5-darwin-kvm.patch
Fix compilation on Darwin 10.5 and up which don't have kvm.h any more
Modified: trunk/baselayout-prefix/src/start-stop-daemon.c
===================================================================
--- trunk/baselayout-prefix/src/start-stop-daemon.c 2011-03-31 14:12:31 UTC (rev 1688)
+++ trunk/baselayout-prefix/src/start-stop-daemon.c 2011-03-31 14:12:39 UTC (rev 1689)
@@ -78,10 +78,14 @@
#include <sys/types.h>
#include <err.h>
-#include <kvm.h>
#include <limits.h>
#endif
+#if defined(OSOpenBSD) || defined(OSFreeBSD) || defined(OSNetBSD)
+#include <kvm.h>
+#endif
+
+
#if defined(OShpux)
#include <sys/param.h>
#include <sys/pstat.h>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-31 14:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-31 14:12 [gentoo-commits] gentoo-alt r1689 - trunk/baselayout-prefix/src Fabian Groffen (grobian)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox