summary refs log tree commit diff
diff options
context:
space:
mode:
-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