summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-01-07 18:14:34 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-01-07 18:14:34 +0100
commitc6fdf590ddad0a987bae320dd8a4850772340856 (patch)
treeea7fcb912350ab3a49f81ebb1943de3ec4e5da7a
parent64a8018cb760aac27cc48bbff1ce6d67a61a18f9 (diff)
downloadrvnit-c6fdf590ddad0a987bae320dd8a4850772340856.tar.gz
rvnit-c6fdf590ddad0a987bae320dd8a4850772340856.tar.xz
rvnit-c6fdf590ddad0a987bae320dd8a4850772340856.zip
fix includes
-rw-r--r--rvnit.c3
-rw-r--r--rvnitctl.c1
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