diff options
author | Leah Neukirchen <leah@vuxu.org> | 2022-01-07 18:14:34 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2022-01-07 18:14:34 +0100 |
commit | c6fdf590ddad0a987bae320dd8a4850772340856 (patch) | |
tree | ea7fcb912350ab3a49f81ebb1943de3ec4e5da7a | |
parent | 64a8018cb760aac27cc48bbff1ce6d67a61a18f9 (diff) | |
download | rvnit-c6fdf590ddad0a987bae320dd8a4850772340856.tar.gz rvnit-c6fdf590ddad0a987bae320dd8a4850772340856.tar.xz rvnit-c6fdf590ddad0a987bae320dd8a4850772340856.zip |
fix includes
-rw-r--r-- | rvnit.c | 3 | ||||
-rw-r--r-- | rvnitctl.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/rvnit.c b/rvnit.c index f8f634f..6262247 100644 --- a/rvnit.c +++ b/rvnit.c @@ -1,15 +1,16 @@ /* accept4 */ #define _GNU_SOURCE -#include <sys/wait.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/un.h> +#include <sys/wait.h> #include <ctype.h> #include <dirent.h> #include <errno.h> #include <fcntl.h> +#include <limits.h> #include <poll.h> #include <pthread.h> #include <signal.h> diff --git a/rvnitctl.c b/rvnitctl.c index 7d48e01..7cc8bde 100644 --- a/rvnitctl.c +++ b/rvnitctl.c @@ -3,6 +3,7 @@ #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <unistd.h> int |