]> git.ipfire.org Git - thirdparty/nqptp.git/commitdiff
fix a compilation error visible in Alpine Linux
authorMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 25 Jun 2021 15:22:01 +0000 (16:22 +0100)
committerMike Brady <4265913+mikebrady@users.noreply.github.com>
Fri, 25 Jun 2021 15:22:01 +0000 (16:22 +0100)
nqptp.c

diff --git a/nqptp.c b/nqptp.c
index f90c364203167ef3346225d4c682b5eed2889432..1d8d02a30ad27a8b7b62d14439ba8a9778801eaa 100644 (file)
--- a/nqptp.c
+++ b/nqptp.c
@@ -38,6 +38,8 @@
 #include <unistd.h> // close
 
 #include <fcntl.h>    /* For O_* constants */
+#include <sys/select.h> // for fd_set
+#include <time.h> // for timeval
 #include <sys/mman.h> // for shared memory stuff
 #include <sys/stat.h> // umask