From 9f17afc2f49cfaf4f8f02d140615ee44abbf2158 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 11 Aug 2018 21:52:05 +0200 Subject: [PATCH] net.c: Remove compat macros for AI_V4MAPPED et al. These were added 11 years ago during NetBSD-3.1 days because this version of NetBSD lacked the three macros. At least on NetBSD-7.1 (released 2017), the compat macros are no longer necessary while FreeBSD and Linux never needed them. So let's get rid of them. --- net.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/net.c b/net.c index d1dcba0a..91200fc0 100644 --- a/net.c +++ b/net.c @@ -10,18 +10,6 @@ #include #include #include - -/* At least NetBSD needs these. */ -#ifndef AI_V4MAPPED -#define AI_V4MAPPED 0 -#endif -#ifndef AI_ALL -#define AI_ALL 0 -#endif -#ifndef AI_ADDRCONFIG -#define AI_ADDRCONFIG 0 -#endif - #include #include "error.h" -- 2.39.5