diff options
Diffstat (limited to 'openbsd-compat/setproctitle.c')
-rw-r--r-- | openbsd-compat/setproctitle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsd-compat/setproctitle.c b/openbsd-compat/setproctitle.c index 32e987deb..7fec73f89 100644 --- a/openbsd-compat/setproctitle.c +++ b/openbsd-compat/setproctitle.c | |||
@@ -40,6 +40,7 @@ | |||
40 | #ifdef HAVE_SYS_PSTAT_H | 40 | #ifdef HAVE_SYS_PSTAT_H |
41 | #include <sys/pstat.h> | 41 | #include <sys/pstat.h> |
42 | #endif | 42 | #endif |
43 | #include <string.h> | ||
43 | 44 | ||
44 | #define SPT_NONE 0 /* don't use it at all */ | 45 | #define SPT_NONE 0 /* don't use it at all */ |
45 | #define SPT_PSTAT 1 /* use pstat(PSTAT_SETCMD, ...) */ | 46 | #define SPT_PSTAT 1 /* use pstat(PSTAT_SETCMD, ...) */ |