diff options
author | Roy Marples <roy@marples.name> | 2007-04-05 15:01:09 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-05 15:01:09 +0000 |
commit | 308042c87bd920d787265f1854bf1695bdbab8e4 (patch) | |
tree | d82ee57f02e53c08bd5d66909d326942a4bb9fba /src/start-stop-daemon.c | |
parent | 6fb700e52c1684637dcc77a89ea2fc7a1b2050b1 (diff) |
We now compile on OpenBSD (no idea if it works or not yet)
Diffstat (limited to 'src/start-stop-daemon.c')
-rw-r--r-- | src/start-stop-daemon.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 <sys/types.h> +#include <sys/ioctl.h> #include <sys/resource.h> #include <sys/stat.h> #include <sys/termios.h> @@ -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)) |