summaryrefslogtreecommitdiff
path: root/bsd-base64.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 /bsd-base64.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 'bsd-base64.c')
-rw-r--r--bsd-base64.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bsd-base64.c b/bsd-base64.c
index 7cb5da44..768bb6bb 100644
--- a/bsd-base64.c
+++ b/bsd-base64.c
@@ -43,9 +43,6 @@
* IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
*/
-#include <stdlib.h>
-#include "config.h"
-
#if !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP)
#include <sys/types.h>
@@ -56,9 +53,10 @@
#include <ctype.h>
#include <stdio.h>
-
+#include <stdlib.h>
#include <string.h>
+#include "gpsd_config.h"
#include "bsd-base64.h"
#define Assert(Cond) if (!(Cond)) abort()