From: Francois-Xavier Le Bail Date: Mon, 26 Jan 2015 09:58:04 +0000 (+0100) Subject: Fix a warning for 'strsep' function on Solaris X-Git-Tag: tcpdump-4.7.2~1^2~42 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/5520a233cfe9b0493f0a19d47f818e5ebf4aa8e0?hp=-c Fix a warning for 'strsep' function on Solaris The warning was: ./missing/strsep.c:54:1: warning: no previous prototype for 'strsep' [-Wmissing-prototypes] --- 5520a233cfe9b0493f0a19d47f818e5ebf4aa8e0 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 +#include "interface.h" + /* * Get next token from string *stringp, where tokens are possibly-empty * strings separated by characters from delim.