aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/FdOutStream.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2021-03-02 13:14:50 +0100
committerPierre Ossman <ossman@cendio.se>2021-03-02 13:14:50 +0100
commitbb4d1e5c2c459130dfa35a702e86bca1182cc9db (patch)
tree12e5dba62f0c7b57402817214de88787a3740919 /common/rdr/FdOutStream.cxx
parent18cc32454337fe6a6300ec1e5428a4aa7baef547 (diff)
downloadtigervnc-bb4d1e5c2c459130dfa35a702e86bca1182cc9db.tar.gz
tigervnc-bb4d1e5c2c459130dfa35a702e86bca1182cc9db.zip
Add missing headers for TCP_CORK
We didn't include the proper headers to get the correct define, so corking was never enabled.
Diffstat (limited to 'common/rdr/FdOutStream.cxx')
-rw-r--r--common/rdr/FdOutStream.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/rdr/FdOutStream.cxx b/common/rdr/FdOutStream.cxx
index b52fc85d..ed6535a8 100644
--- a/common/rdr/FdOutStream.cxx
+++ b/common/rdr/FdOutStream.cxx
@@ -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 */