diff options
Diffstat (limited to 'src/netbeans.c')
-rw-r--r-- | src/netbeans.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/netbeans.c b/src/netbeans.c index 93a9aea75..0ef6b6904 100644 --- a/src/netbeans.c +++ b/src/netbeans.c @@ -43,6 +43,11 @@ # define sock_close(sd) closesocket(sd) # define sleep(t) Sleep(t*1000) /* WinAPI Sleep() accepts milliseconds */ #else + /* uint32_t may be defined by configure, but netdb.h indirectly includes + * stdint.h which tries to typedef uint32_t and fails. */ +# ifdef uint32_t +# undef uint32_t +# endif # include <netdb.h> # include <netinet/in.h> # include <sys/socket.h> |