Skip to content

Commit

Permalink
socket.c: define AI_NUMERICSERV if undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Oct 29, 2024
1 parent 1085e46 commit 5140e4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ static int wsa_init = 0;
#define ETIMEDOUT 138
#endif

#ifndef AI_NUMERICSERV
#define AI_NUMERICSERV 0
#endif

static int verbose = 0;

void socket_set_verbose(int level)
Expand Down

0 comments on commit 5140e4f

Please sign in to comment.