Skip to content

Commit 44675ea

Browse files
yonaslpereira
authored andcommitted
Define MSG_FASTOPEN
For some reason, this gets picked up on FreeBSD and not Linux.
1 parent 1ccbed7 commit 44675ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bin/tools/weighttp.c

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@
4646
#include <netinet/in.h>
4747
#include <sys/un.h>
4848

49+
#ifndef MSG_FASTOPEN
50+
#define MSG_FASTOPEN 0
51+
#endif
4952
#ifndef MSG_DONTWAIT
5053
#define MSG_DONTWAIT 0
5154
#endif

0 commit comments

Comments
 (0)