diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:26:51 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:26:51 -0700 |
commit | d5b3f162bccedf55cfc3dbcdd2250a6ceddf4a4e (patch) | |
tree | 20329455c9c65f37e1e09e92bc515aaad0070b69 /gpxlogger.c | |
parent | 4c8a74fa031d3356183e1562b7a9738d70e9f3ce (diff) | |
download | gpsd-d5b3f162bccedf55cfc3dbcdd2250a6ceddf4a4e.tar.gz |
daemon() needs _DEFAULT_SOURCE
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index d7ea508e..99bb3d04 100644 --- a/gpxlogger.c +++ b/gpxlogger.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. */ + +/* daemon() needs _DEFAULT_SOURCE */ +#define _DEFAULT_SOURCE + #include <stdio.h> #include <stdlib.h> #include <stdbool.h> |