From 316d9cabfeffc7e42cc0d12cdb4ea97cffc2641a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 20 May 2008 15:39:26 +0000 Subject: * winsup.h (cygwin_inet_addr): Fix type of declaration. --- winsup/cygwin/winsup.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/winsup.h') diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index 0852b2908..d3e92747d 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -53,7 +53,8 @@ extern struct passwd *getpwuid32 (__uid32_t); extern struct passwd *getpwnam (const char *); extern struct __sFILE64 *fopen64 (const char *, const char *); extern struct hostent *cygwin_gethostbyname (const char *name); -extern unsigned long cygwin_inet_addr (const char *cp); +/* Don't enforce definition of in_addr_t. */ +extern uint32_t cygwin_inet_addr (const char *cp); extern int fcntl64 (int fd, int cmd, ...); #ifdef __cplusplus } -- cgit v1.2.3