Skip to content

Commit

Permalink
networking: Include <netinet/tcp.h> for proper TCP_NODELAY
Browse files Browse the repository at this point in the history
- Fixes TCP_NODELAY enablement on POSIX systems
  • Loading branch information
LekKit committed Dec 21, 2024
1 parent 92fc371 commit cb6e3fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/networking.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ typedef int net_addrlen_t;
#include <sys/select.h>
#include <sys/ioctl.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
Expand Down

0 comments on commit cb6e3fe

Please sign in to comment.