summaryrefslogtreecommitdiff
path: root/net_dgpsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-11 11:39:45 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-11 11:39:45 +0000
commit657a827ed48e346b43b611b1bd48bbbb7cefc3f1 (patch)
treeb9f5d7e013b747b588d8002b1ecc79da36363de2 /net_dgpsip.c
parentdab1629290cc471813952ac03f5b031b7efb2533 (diff)
downloadgpsd-657a827ed48e346b43b611b1bd48bbbb7cefc3f1.tar.gz
Finally found the right set of exclusions to stop splint from choking.
Now to see if I can trim them any.
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r--net_dgpsip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c
index d1591e66..abf14539 100644
--- a/net_dgpsip.c
+++ b/net_dgpsip.c
@@ -9,7 +9,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
+#ifndef S_SPLINT_S
#include <netdb.h>
+#endif /* S_SPLINT_S */
#include <string.h>
#include <errno.h>
#include <fcntl.h>