diff options
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/getifaddrs.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/net/getifaddrs.c b/lib/libc/net/getifaddrs.c index 573aada..a0a034e 100644 --- a/lib/libc/net/getifaddrs.c +++ b/lib/libc/net/getifaddrs.c @@ -71,9 +71,14 @@ #endif #if _BSDI_VERSION >= 199802 +/* ifam_data is very specific to recent versions of bsdi */ #define HAVE_IFAM_DATA #endif +#if defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) +#define HAVE_IFM_DATA +#endif + int getifaddrs(struct ifaddrs **pif) { |