diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-01-25 05:13:32 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-01-25 05:13:32 -0500 |
commit | a701759ea555821922cac75bd849c562a901a041 (patch) | |
tree | 72e8a13c87f1ecc773a8f4b2fcedd934472a1de4 /gpsd.c | |
parent | 8d9ffa83f09064fb70d206e65769c127b48fea9a (diff) | |
download | gpsd-a701759ea555821922cac75bd849c562a901a041.tar.gz |
SIOCOUTQ build fix required for older Ubuntu versions.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,7 +42,8 @@ #include <unistd.h> #endif /* S_SPLINT_S */ #ifdef __linux__ -#include <linux/sockios.h> +#include <sys/ioctl.h> /* needed for ioctl(SIOCOUTQ) */ +#include <linux/sockios.h> /* needed for ioctl(SIOCOUTQ) */ #endif /* __linux__ */ #include "gpsd_config.h" |