summaryrefslogtreecommitdiff
path: root/gpsdecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpsdecode.c')
-rw-r--r--gpsdecode.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gpsdecode.c b/gpsdecode.c
index 6d985202..4cb87d3a 100644
--- a/gpsdecode.c
+++ b/gpsdecode.c
@@ -2,12 +2,13 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
-#ifndef S_SPLINT_S
-#include <unistd.h>
-#endif /* S_SPLINT_S */
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
+#ifndef S_SPLINT_S
+#include <unistd.h>
+#endif /* S_SPLINT_S */
#include "gpsd.h"
#include "gps_json.h"