about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2024-01-09 16:49:00 +0100
committerLeah Neukirchen <leah@vuxu.org>2024-01-09 16:49:00 +0100
commit02992f086029b8781d0ada2a7c941c78dc3cadba (patch)
tree78377d07cca04b2c34fc3ee1df314d8645feb4b0
parent2604cd6e12025cddd38b13feda18f01b7ee271a8 (diff)
downloadnitro-02992f086029b8781d0ada2a7c941c78dc3cadba.tar.gz
nitro-02992f086029b8781d0ada2a7c941c78dc3cadba.tar.xz
nitro-02992f086029b8781d0ada2a7c941c78dc3cadba.zip
more includes for portability
-rw-r--r--nitro.c2
-rw-r--r--nitroctl.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/nitro.c b/nitro.c
index 94ae6fc..be593bf 100644
--- a/nitro.c
+++ b/nitro.c
@@ -1,6 +1,7 @@
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <sys/stat.h>
+#include <sys/time.h>
 #include <sys/wait.h>
 #include <sys/un.h>
 #ifdef __linux__
@@ -21,6 +22,7 @@
 #include <string.h>
 #include <syslog.h>
 #include <time.h>
+#include <termios.h>
 #include <unistd.h>
 
 // no error message
diff --git a/nitroctl.c b/nitroctl.c
index 2ee3565..7cc06a4 100644
--- a/nitroctl.c
+++ b/nitroctl.c
@@ -3,6 +3,7 @@
 #endif
 
 #include <sys/socket.h>
+#include <sys/time.h>
 #include <sys/un.h>
 #include <sys/utsname.h>
 #ifdef INIT_SYSTEM