diff options
author | Gary E. Miller <gem@rellim.com> | 2016-08-15 19:54:45 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2016-08-15 19:54:45 -0700 |
commit | 9a4bd3589c123def01a3adeb1ed9d3a99bd12316 (patch) | |
tree | 2984eea44097b98182843b050bef805907afd815 /serial.c | |
parent | b4715a222b1cc8a58b98203809be0f2c008bac47 (diff) | |
download | gpsd-9a4bd3589c123def01a3adeb1ed9d3a99bd12316.tar.gz |
With C99, macro() needs sys/sysmacros.h
Diffstat (limited to 'serial.c')
-rw-r--r-- | serial.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -13,7 +13,8 @@ #include <errno.h> #include <unistd.h> #include <sys/socket.h> -#include <sys/param.h> /* defines BSD */ +#include <sys/param.h> /* defines BSD */ +#include <sys/sysmacros.h> /* defines major() */ #include "gpsd_config.h" #ifdef ENABLE_BLUEZ |