summaryrefslogtreecommitdiff
path: root/driver_nmea2000.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver_nmea2000.c')
-rw-r--r--driver_nmea2000.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/driver_nmea2000.c b/driver_nmea2000.c
index c5c6a8b1..ab9e87b4 100644
--- a/driver_nmea2000.c
+++ b/driver_nmea2000.c
@@ -4,6 +4,10 @@
* This file is Copyright (c) 2012 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
+
+/* I can not figure out why this file will not compile C99 */
+#undef _ISOC99_SOURCE
+
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
@@ -15,8 +19,8 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/socket.h>
-#include <net/if.h>
#include <sys/ioctl.h>
+#include <net/if.h>
#include "gpsd.h"
#include "libgps.h"