blob: 4065dd4c615c966ddc03435c51111761682cf33c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
client.c:210:18: error: use of undeclared identifier 'IPPROTO_TCP'
setsockopt(cfd, IPPROTO_TCP, TCP_NODELAY, (void*)&yes, sizeof(int));
--- src/client.c.orig 2020-06-09 16:20:07 UTC
+++ src/client.c
@@ -31,6 +31,7 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/un.h>
#include <arpa/inet.h>
|