From 795c1985cd9b8ea33b8fb7ddd4ec5f23fabdb680 Mon Sep 17 00:00:00 2001 From: Fred Wright Date: Fri, 9 Sep 2016 16:37:52 -0700 Subject: [PATCH 5/5] Fixes broken OpenBSD build. This removes a flag tweak which is commented as being needed by FreeBSD, but that doesn't seem to be the case in FreeBSD 10.1, anyway. Since modifying double-underscore flags is expressly prohibited by the C standard, if some sort of fix is needed it will need to be done differently. TESTED: Ran "scons build-all check" on OSX 10.5, 10.9, and 10.11, as well asl Ubuntu 14, CentOS 7, FreeBSD 10.1, OpenBSD 5.6 (32 and 64), and NetBSD 6.1.5. --- netlib.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/netlib.c b/netlib.c index cc1c7bf..c896938 100644 --- a/netlib.c +++ b/netlib.c @@ -3,9 +3,6 @@ * BSD terms apply: see the file COPYING in the distribution root for details. */ -/* for INADDR_LOOPBACK() FreeBSD wants __BSD_VISIBLE */ -#define __BSD_VISIBLE - #include #include #include -- 2.9.3