summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2006-10-26 23:11:51 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2006-10-26 23:11:51 +0000
commit874612903bdfbd8920277ba3b4e0e26da420fd62 (patch)
tree9e8cff791f4b4e36e1d5c853bde41a54bf35c32f /drivers.c
parent5794bb4cc9b92789c326bc64f321d41bca6f94bc (diff)
downloadgpsd-874612903bdfbd8920277ba3b4e0e26da420fd62.tar.gz
Rename config.h so it can be installed as gpsd_config.h...
...for those who want to build their own apps linked against libgps and want the headers to work. Works on OpenBSD, tested by Jeff Francis on OS X and Linux
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers.c b/drivers.c
index 573a4222..bcd7d458 100644
--- a/drivers.c
+++ b/drivers.c
@@ -1,14 +1,16 @@
/* $Id$ */
+#include <sys/types.h>
+#include <sys/ioctl.h>
+#include <sys/time.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>
#include <stdio.h>
#include <math.h>
-#include <sys/ioctl.h>
-#include <sys/time.h>
#include <stdarg.h>
+#include "gpsd_config.h"
#include "gpsd.h"
extern struct gps_type_t zodiac_binary;