Skip to content

Commit

Permalink
network: restored patch I accidentally removed
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Mar 14, 2024
1 parent a541e52 commit cac75dc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/flb_network.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@
#include <monkey/mk_core.h>
#include <ares.h>

#ifdef FLB_SYSTEM_MACOS
#ifdef _GNU_SOURCE
#undef _GNU_SOURCE
#endif
/* Use POSIX version of strerror_r forcibly on macOS. */
#include <string.h>
#endif

#ifndef SOL_TCP
#define SOL_TCP IPPROTO_TCP
#endif
Expand Down

0 comments on commit cac75dc

Please sign in to comment.