diff options
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/include/cygwin/in.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/include/cygwin/in.h b/winsup/cygwin/include/cygwin/in.h index a64160e8f..3242d6878 100644 --- a/winsup/cygwin/include/cygwin/in.h +++ b/winsup/cygwin/include/cygwin/in.h @@ -20,8 +20,12 @@ #include <cygwin/socket.h> +#ifndef _IN_ADDR_T_DECLARED +typedef __uint32_t in_addr_t; +#define _IN_ADDR_T_DECLARED +#endif + typedef uint16_t in_port_t; -typedef uint32_t in_addr_t; #ifndef __INSIDE_CYGWIN_NET__ |