summaryrefslogtreecommitdiff
path: root/netlib.c
diff options
context:
space:
mode:
authorFred Wright <fw@fwright.net>2016-09-09 16:37:52 -0700
committerGary E. Miller <gem@rellim.com>2016-09-22 18:00:08 -0700
commitfc2ac1b84944c54fc8c9eb30848d6aecd5eb0ce3 (patch)
tree4eb95954253af8282d16c0fc0a5647896ecd39aa /netlib.c
parent3ca6b7cc6908d69a508b82f0d089f70fe869aa23 (diff)
downloadgpsd-fc2ac1b84944c54fc8c9eb30848d6aecd5eb0ce3.tar.gz
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. 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. Signed-off-by: Gary E. Miller <gem@rellim.com>
Diffstat (limited to 'netlib.c')
-rw-r--r--netlib.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/netlib.c b/netlib.c
index cc1c7bf1..c8969382 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 <string.h>
#include <fcntl.h>
#include <netdb.h>