Skip to content

Commit

Permalink
Define MSG_FASTOPEN
Browse files Browse the repository at this point in the history
For some reason, this gets picked up on FreeBSD and not Linux.
  • Loading branch information
yonas authored and lpereira committed Jan 31, 2024
1 parent 1ccbed7 commit 44675ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bin/tools/weighttp.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
#include <netinet/in.h>
#include <sys/un.h>

#ifndef MSG_FASTOPEN
#define MSG_FASTOPEN 0
#endif
#ifndef MSG_DONTWAIT
#define MSG_DONTWAIT 0
#endif
Expand Down

0 comments on commit 44675ea

Please sign in to comment.