Skip to content

Commit 9e41af2

Browse files
author
Bryan Henderson
committed
Add inet_aton() prototype.
1 parent 3677e86 commit 9e41af2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/backend/port/ultrix4/port-protos.h

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: port-protos.h,v 1.3 1996/11/27 08:15:30 bryanh Exp $
9+
* $Id: port-protos.h,v 1.4 1997/01/16 06:32:17 bryanh Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -40,4 +40,11 @@ extern void init_address_fixup(void);
4040
/* strdup.c: strdup() is not part of libc on Ultrix */
4141
extern char* strdup(char const*);
4242

43+
/* inet_aton() is not part of libc on Ultrix. The following is from
44+
backend/port/inet_aton.h
45+
*/
46+
47+
int
48+
inet_aton(const char *cp, struct in_addr *addr);
49+
4350
#endif /* PORT_PORTOS_H */

0 commit comments

Comments
 (0)