]> source.dussan.org Git - tigervnc.git/commitdiff
Add missing headers for TCP_CORK
authorPierre Ossman <ossman@cendio.se>
Tue, 2 Mar 2021 12:14:50 +0000 (13:14 +0100)
committerPierre Ossman <ossman@cendio.se>
Tue, 2 Mar 2021 12:14:50 +0000 (13:14 +0100)
We didn't include the proper headers to get the correct define, so
corking was never enabled.

common/rdr/FdOutStream.cxx

index b52fc85dd133a29de7c445b9744a3a1e63b8e3a9..ed6535a8d12b07b5c627f16b2e5dfe88fa4c1819 100644 (file)
@@ -35,6 +35,8 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
+#include <netinet/tcp.h>
 #endif
 
 /* Old systems have select() in sys/time.h */