diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:27:11 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:27:11 -0700 |
commit | d01483e1832696992d8037d0508a0ba3eaa65eef (patch) | |
tree | 301b388188db4eaf889e273f473b8b731a4b177a /lcdgps.c | |
parent | d5b3f162bccedf55cfc3dbcdd2250a6ceddf4a4e (diff) | |
download | gpsd-d01483e1832696992d8037d0508a0ba3eaa65eef.tar.gz |
daemon() needs _DEFAULT_SOURCE
Diffstat (limited to 'lcdgps.c')
-rw-r--r-- | lcdgps.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,6 +33,9 @@ #define CLIMB 3 +/* daemon() needs _DEFAULT_SOURCE */ +#define _DEFAULT_SOURCE + #include <netdb.h> #ifndef AF_UNSPEC #include <sys/types.h> |