diff options
Diffstat (limited to 'openbsd-compat/fake-getnameinfo.h')
-rw-r--r-- | openbsd-compat/fake-getnameinfo.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/openbsd-compat/fake-getnameinfo.h b/openbsd-compat/fake-getnameinfo.h deleted file mode 100644 index 6c1bb30a4..000000000 --- a/openbsd-compat/fake-getnameinfo.h +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | /* $Id: fake-getnameinfo.h,v 1.4 2003/06/04 23:48:33 djm Exp $ */ | ||
2 | |||
3 | #ifndef _FAKE_GETNAMEINFO_H | ||
4 | #define _FAKE_GETNAMEINFO_H | ||
5 | |||
6 | #include "config.h" | ||
7 | |||
8 | #ifndef HAVE_GETNAMEINFO | ||
9 | int getnameinfo(const struct sockaddr *, size_t, char *, size_t, | ||
10 | char *, size_t, int); | ||
11 | #endif /* !HAVE_GETNAMEINFO */ | ||
12 | |||
13 | #ifndef NI_NUMERICHOST | ||
14 | # define NI_NUMERICHOST (1) | ||
15 | # define NI_NAMEREQD (1<<1) | ||
16 | # define NI_NUMERICSERV (1<<2) | ||
17 | #endif | ||
18 | |||
19 | #ifndef NI_MAXSERV | ||
20 | # define NI_MAXSERV 32 | ||
21 | #endif /* !NI_MAXSERV */ | ||
22 | #ifndef NI_MAXHOST | ||
23 | # define NI_MAXHOST 1025 | ||
24 | #endif /* !NI_MAXHOST */ | ||
25 | |||
26 | #endif /* _FAKE_GETNAMEINFO_H */ | ||