aboutsummaryrefslogtreecommitdiff
path: root/src/librc
diff options
context:
space:
mode:
authorSvante Signell <svante.signell@gmail.com>2014-10-22 14:59:01 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2014-10-23 13:00:24 -0500
commit875f03e27c3475675f7b9572b071dd8c26257be7 (patch)
treef825c2ce49a2fdc7a3150eed0b6a2a6dda410deb /src/librc
parent203b754f843fe6af0a40e983d557a9cdbc89f84b (diff)
fix defines for GNU/Hurd
Diffstat (limited to 'src/librc')
-rw-r--r--src/librc/librc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librc/librc.h b/src/librc/librc.h
index 54c9a1ac..0824eba7 100644
--- a/src/librc/librc.h
+++ b/src/librc/librc.h
@@ -57,11 +57,13 @@
#include <time.h>
#include <unistd.h>
-#ifdef BSD
+#if defined(BSD) && !defined(__GNU__)
#include <sys/param.h>
#include <sys/user.h>
#include <sys/sysctl.h>
#include <kvm.h>
+#else
+#include <sys/param.h>
#endif
#include "rc.h"