diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-02 18:51:06 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-02 18:51:06 -0500 |
commit | 0cdd676899a619ebf0dc66f0bba49ae3b7a237ab (patch) | |
tree | 3aa60eebb61a0df01a45fb48436328a3c47fe5d4 /libgpsd_core.c | |
parent | 9428327d2f30084a16823c57e90d6a13cf2e3d69 (diff) | |
download | gpsd-0cdd676899a619ebf0dc66f0bba49ae3b7a237ab.tar.gz |
Try to fix Gary's build with PPS.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c index 2c5460ff..0114061e 100644 --- a/libgpsd_core.c +++ b/libgpsd_core.c @@ -5,6 +5,7 @@ */ #include <stdlib.h> #include "gpsd_config.h" +#include <sys/time.h> #ifdef HAVE_SYS_IOCTL_H #include <sys/ioctl.h> #endif /* HAVE_SYS_IOCTL_H */ @@ -16,6 +17,7 @@ #endif /* HAVE_SYS_SOCKET_H */ #include <unistd.h> #endif /* S_SPLINT_S */ +#include <stdio.h> #include <math.h> #ifndef S_SPLINT_S #ifdef HAVE_NETDB_H @@ -23,6 +25,8 @@ #endif /* HAVE_NETDB_H */ #endif /* S_SPLINT_S */ #include <string.h> +#include <errno.h> +#include <fcntl.h> #include "gpsd.h" |