Skip to content

Commit

Permalink
better socklen_t detection
Browse files Browse the repository at this point in the history
  • Loading branch information
lsalzman committed Apr 26, 2021
1 parent 0286dcd commit e8dbb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unix.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#include <poll.h>
#endif

#ifndef HAS_SOCKLEN_T
#if !defined(HAS_SOCKLEN_T) && !defined(__socklen_t_defined)
typedef int socklen_t;
#endif

Expand Down

0 comments on commit e8dbb36

Please sign in to comment.