summaryrefslogtreecommitdiff
path: root/driver_ais.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2016-08-15 20:49:14 -0700
committerGary E. Miller <gem@rellim.com>2016-08-15 20:49:14 -0700
commit8f8f6ed4bd33f476df217dc24b08bfa5849450de (patch)
tree004d314bf780a59c3117c7e9f48ecae860dd84c2 /driver_ais.c
parent67f0cb9c5f4cf2fc12d47be6f0afdccf335f1336 (diff)
downloadgpsd-8f8f6ed4bd33f476df217dc24b08bfa5849450de.tar.gz
isascii() needs _XOPEN_SOURCE 500
Diffstat (limited to 'driver_ais.c')
-rw-r--r--driver_ais.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/driver_ais.c b/driver_ais.c
index d79e4575..d8b984db 100644
--- a/driver_ais.c
+++ b/driver_ais.c
@@ -15,6 +15,10 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
+
+/* isascii() needs _XOPEN_SOURCE, 500 means X/Open 1995 */
+#define _XOPEN_SOURCE 500
+
#include <stdlib.h>
#include <string.h>
#include <ctype.h>