summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-20 03:51:06 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-20 03:51:06 +0000
commit96313a3f6861b1799729e5e788a3d20386554214 (patch)
tree2fa7901df149e5fa214054920d7024e1d5515c19 /serial.c
parente5e05dcd7c1f412b71bc94ae52257eb0a2436687 (diff)
downloadgpsd-96313a3f6861b1799729e5e788a3d20386554214.tar.gz
Include the whole config file in gpsd.h.
That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/serial.c b/serial.c
index e6e196e3..647bf30c 100644
--- a/serial.c
+++ b/serial.c
@@ -13,7 +13,9 @@
#if defined(HAVE_SYS_MODEM_H)
#include <sys/modem.h>
#endif /* HAVE_SYS_MODEM_H */
+
#include "gpsd.h"
+
/* Workaround for HP-UX 11.23, which is missing CRTSCTS */
#ifndef CRTSCTS
# ifdef CNEW_RTSCTS