From 308042c87bd920d787265f1854bf1695bdbab8e4 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 5 Apr 2007 15:01:09 +0000 Subject: We now compile on OpenBSD (no idea if it works or not yet) --- src/start-stop-daemon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/start-stop-daemon.c') diff --git a/src/start-stop-daemon.c b/src/start-stop-daemon.c index e5dae783..fef416cb 100644 --- a/src/start-stop-daemon.c +++ b/src/start-stop-daemon.c @@ -12,6 +12,8 @@ #define POLL_INTERVAL 20000 #define START_WAIT 100000 +#include +#include #include #include #include @@ -727,7 +729,7 @@ int main (int argc, char **argv) { char *tmp; if (ch_root) - tmp = rc_strcatpaths (ch_root, exec, NULL); + tmp = rc_strcatpaths (ch_root, exec, (char *) NULL); else tmp = exec; if (! rc_is_file (tmp)) -- cgit v1.2.3