summaryrefslogtreecommitdiff
blob: 08668edff73e5d61782ac781331c661af12a3309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
http://bugs.gentoo.org/show_bug.cgi?id=360855

by JTRiley 

--- baselayout-1.12.5/src/start-stop-daemon.c
+++ baselayout-1.12.5/src/start-stop-daemon.c
@@ -73,10 +73,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>