diff options
author | Fred Wright <fw@fwright.net> | 2017-01-31 18:57:45 -0800 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2017-01-31 18:57:45 -0800 |
commit | 260ed80ab2e8e18ae208d34b6e8ad3b784155d62 (patch) | |
tree | d267b4646a27cece163f00aa163a0b6107862c70 /libgps_sock.c | |
parent | e9c2b6406ac76bb68f69a83a1694d5779b9779a9 (diff) | |
download | gpsd-260ed80ab2e8e18ae208d34b6e8ad3b784155d62.tar.gz |
Fixes warning on CentOS build.
Certain definitions (in this case, setgroups) need _BSD_SOURCE in
older glibc versions, but _DEFAULT_SOURCE in newer versions. The
recommended approach for compatibility across glibc versions (from
feature_test_macros(7)) is to define both.
TESTED:
Now builds without warnings on Ubuntu 14, CentOS 7, and Fedora 25.
Diffstat (limited to 'libgps_sock.c')
0 files changed, 0 insertions, 0 deletions