diff options
author | Guillem Jover <guillem@debian.org> | 2017-02-11 22:40:20 +0100 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2017-02-26 23:43:01 +0100 |
commit | 414903639c5c23ec4e346a011feea2deb7565be0 (patch) | |
tree | d948fd358eab79e73aa5c6ed8d291448d1453bb4 /utils/start-stop-daemon.c | |
parent | 12af640e1bcfa7dd1327ccd0e5d775d7ba1571d2 (diff) | |
download | dpkg-414903639c5c23ec4e346a011feea2deb7565be0.tar.gz |
s-s-d: Define _KMEMUSER for NetBSD
We need to define this macro to be able to get the declarations for the
struct proc and other struct kproc_info members.
Diffstat (limited to 'utils/start-stop-daemon.c')
-rw-r--r-- | utils/start-stop-daemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c index ca1842172..3931f5c79 100644 --- a/utils/start-stop-daemon.c +++ b/utils/start-stop-daemon.c @@ -49,6 +49,9 @@ # error Unknown architecture - cannot build start-stop-daemon #endif +/* NetBSD needs this to expose struct proc. */ +#define _KMEMUSER 1 + #ifdef HAVE_SYS_PARAM_H #include <sys/param.h> #endif |