diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-16 15:46:19 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-16 15:46:19 -0700 |
commit | d8eae2c73a707f215e2146568d5353329a25dcfa (patch) | |
tree | 97422a442625dc4df9d239ed7e502b9e4eb103fb /netlib.c | |
parent | bc4a4a9f2e739a0ce0448081a877be562c1bcfe0 (diff) | |
download | gpsd-d8eae2c73a707f215e2146568d5353329a25dcfa.tar.gz |
for INADDR_LOOPBACK() FreeBSD wants __BSD_VISIBLE
Oh what a tangled web...
Diffstat (limited to 'netlib.c')
-rw-r--r-- | netlib.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 <string.h> #include <fcntl.h> #include <netdb.h> |