Add missing headers for TCP_CORK

We didn't include the proper headers to get the correct define, so
corking was never enabled.
This commit is contained in:
Pierre Ossman 2021-03-02 13:14:50 +01:00 committed by Lauri Kasanen
parent da83ecf86a
commit d8caab699d

View 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 */