server: add missing header after f20ffb5e1e

src/server.c:1119:17: error: use of undeclared identifier 'IPPROTO_TCP'
        setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &one, sizeof(one));
                       ^
pull/67/head
Jan Beich 2022-07-09 19:20:03 +00:00 committed by Andri Yngvason
parent 734e189c7f
commit 4baeaa43fd
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>
#include <netdb.h> #include <netdb.h>
#include <netinet/in.h>
#include <netinet/tcp.h> #include <netinet/tcp.h>
#ifdef ENABLE_TLS #ifdef ENABLE_TLS