From d8eae2c73a707f215e2146568d5353329a25dcfa Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Tue, 16 Aug 2016 15:46:19 -0700 Subject: for INADDR_LOOPBACK() FreeBSD wants __BSD_VISIBLE Oh what a tangled web... --- netlib.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'netlib.c') diff --git a/netlib.c b/netlib.c index a0403cdd..cc1c7bf1 100644 --- a/netlib.c +++ b/netlib.c @@ -2,6 +2,10 @@ * This file is Copyright (c) 2010 by the GPSD project * 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 -- cgit v1.2.1