summaryrefslogtreecommitdiff
path: root/gps2udp.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-12-26 18:55:43 -0800
committerGary E. Miller <gem@rellim.com>2018-12-26 18:55:43 -0800
commit2541f0bdc96a434a5435c04883f876e124a818bf (patch)
treed6e7969aeebe4c4ab230badcf1e76eec5af402af /gps2udp.c
parent92d6a78098d1580568da47300e0dab4f02174cfc (diff)
downloadgpsd-2541f0bdc96a434a5435c04883f876e124a818bf.tar.gz
gpspipe: POSIX_C_SOURCE breaks on osX.
Very odd. Not obvious why.
Diffstat (limited to 'gps2udp.c')
-rw-r--r--gps2udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gps2udp.c b/gps2udp.c
index e08483e1..ea894689 100644
--- a/gps2udp.c
+++ b/gps2udp.c
@@ -17,6 +17,7 @@
/* #if !defined(_POSIX_C_SOURCE) || _POSIX_C_SOURCE < 200112L */
#ifdef __linux__
+/* breaks osX */
/* isfinite() and pselect() needs _POSIX_C_SOURCE >= 200112L */
#define _POSIX_C_SOURCE 200112L
#endif /* __linux__ */