diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-12 21:35:52 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-12 21:35:52 +0000 |
commit | 0998872972ec9a059204344cf0bec64123b3e28c (patch) | |
tree | 7a32085ad4557354053c3d2dbfd0dc0b1cb6a958 /openbsd-compat/inet_ntop.h | |
parent | 2b646528cbee9b0051f3904c56b7d49aac5cdc6c (diff) |
- (bal) Added openbsd-compat/inet_ntop.[ch] since HP/UX (and others)
lack it.
Diffstat (limited to 'openbsd-compat/inet_ntop.h')
-rw-r--r-- | openbsd-compat/inet_ntop.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/openbsd-compat/inet_ntop.h b/openbsd-compat/inet_ntop.h new file mode 100644 index 000000000..11f443ff3 --- /dev/null +++ b/openbsd-compat/inet_ntop.h | |||
@@ -0,0 +1,13 @@ | |||
1 | /* $Id: inet_ntop.h,v 1.1 2001/04/12 21:35:53 mouring Exp $ */ | ||
2 | |||
3 | #ifndef _BSD_RRESVPORT_H | ||
4 | #define _BSD_RRESVPORT_H | ||
5 | |||
6 | #include "config.h" | ||
7 | |||
8 | #ifndef HAVE_INET_NTOP | ||
9 | const char * | ||
10 | inet_ntop(int af, const void *src, char *dst, size_t size); | ||
11 | #endif /* !HAVE_INET_NTOP */ | ||
12 | |||
13 | #endif /* _BSD_RRESVPORT_H */ | ||