summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-26 18:20:27 -0700
committerGary E. Miller <gem@rellim.com>2015-03-26 18:20:27 -0700
commit5e24bd130a5456d2f5b3b1c6bb2d7222b9613180 (patch)
tree1050056fb124ed288b2c0a7a770b4fb9e95cc3a8 /json.h
parent912d8cb19b6aee8a60eaa256f700e7c92ccae4ac (diff)
downloadgpsd-5e24bd130a5456d2f5b3b1c6bb2d7222b9613180.tar.gz
Hide a sys header from splint
gpsd.c is now splint clean on raspbian. YMMV
Diffstat (limited to 'json.h')
-rw-r--r--json.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/json.h b/json.h
index 47e2671a..3ebf1ce4 100644
--- a/json.h
+++ b/json.h
@@ -5,7 +5,9 @@
*/
#include <stdbool.h>
-#include <ctype.h>
+#ifndef S_SPLINT_S
+#include <ctype.h> /* raspbian splint hates this */
+#endif /* S_SPLINT_S */
typedef enum {t_integer, t_uinteger, t_real,
t_string, t_boolean, t_character,