diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:27:50 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-15 21:27:50 -0700 |
commit | 31ece69babcaedbbd2f635c1dc2391025d5619b6 (patch) | |
tree | 59fd2d94a700f763ec334a44ef7713bbcc71eecf /serial.c | |
parent | 87b7df35465772ee43e391e3c431f0bfd4bed634 (diff) | |
download | gpsd-31ece69babcaedbbd2f635c1dc2391025d5619b6.tar.gz |
cfmakeraw() needs _DEFAULT_SOURCE
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3,6 +3,9 @@ * BSD terms apply: see the file COPYING in the distribution root for details. */ +/* cfmakeraw() needs _DEFAULT_SOURCE */ +#define _DEFAULT_SOURCE + #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> |