]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix a warning for 'strsep' function on Solaris
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 26 Jan 2015 09:58:04 +0000 (10:58 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 26 Jan 2015 09:58:04 +0000 (10:58 +0100)
The warning was:
./missing/strsep.c:54:1: warning: no previous prototype for 'strsep' [-Wmissing-prototypes]

missing/strsep.c

index bcce4c46861a9d70f8a60c60c9e3c52607af7737..a1e6b3017b6f3f66068a37ee7fc73b180338727f 100644 (file)
@@ -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.