summaryrefslogtreecommitdiff
path: root/ntrip.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 /ntrip.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 'ntrip.c')
-rw-r--r--ntrip.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ntrip.c b/ntrip.c
index 671c0a40..56be7a9d 100644
--- a/ntrip.c
+++ b/ntrip.c
@@ -1,16 +1,17 @@
/* $Id$ */
/* ntrip.c -- gather and dispatch DGNSS data from Ntrip broadcasters */
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/time.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <netdb.h>
-#include <sys/socket.h>
-#include <sys/time.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
-#include "config.h"
+#include "gpsd_config.h"
#ifdef NTRIP_ENABLE
#include "gpsd.h"