summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-01-26 10:58:04 +0100
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2015-01-26 10:58:04 +0100
commit5520a233cfe9b0493f0a19d47f818e5ebf4aa8e0 (patch)
tree3162bf0c4603e4e0a14d5052afcf5d52f1e30522 /missing
parent34aef54e2798e738e0111927b3f8a616f49221e3 (diff)
downloadtcpdump-5520a233cfe9b0493f0a19d47f818e5ebf4aa8e0.tar.gz
Fix a warning for 'strsep' function on Solaris
The warning was: ./missing/strsep.c:54:1: warning: no previous prototype for 'strsep' [-Wmissing-prototypes]
Diffstat (limited to 'missing')
-rw-r--r--missing/strsep.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/missing/strsep.c b/missing/strsep.c
index bcce4c46..a1e6b301 100644
--- a/missing/strsep.c
+++ b/missing/strsep.c
@@ -39,6 +39,8 @@
#include <string.h>
+#include "interface.h"
+
/*
* Get next token from string *stringp, where tokens are possibly-empty
* strings separated by characters from delim.