diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-16 13:52:45 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-16 13:52:45 -0700 |
commit | bbbc307cbe9b91918c81ce282f86b3d3c542bf9a (patch) | |
tree | 6e478abfab6edbfedbd0ae610ddb4c912d216261 /serial.c | |
parent | 1d29f15f15aca66dc67307f61211d50a65a05763 (diff) | |
download | gpsd-bbbc307cbe9b91918c81ce282f86b3d3c542bf9a.tar.gz |
OS X has no sys/sysmacros.h, so hide it.
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,7 +17,9 @@ #include <unistd.h> #include <sys/socket.h> #include <sys/param.h> /* defines BSD */ +#ifdef __linux__ #include <sys/sysmacros.h> /* defines major() */ +#endif /* __linux__ */ #include "gpsd_config.h" #ifdef ENABLE_BLUEZ |