X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/3824a6c0417a551961d1a1bf4f94f10eff736afc..refs/heads/tcpdump-4.9:/missing/strlcpy.c diff --git a/missing/strlcpy.c b/missing/strlcpy.c index dec09fe7..24dcca67 100644 --- a/missing/strlcpy.c +++ b/missing/strlcpy.c @@ -28,23 +28,16 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ - -#ifdef HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H #include #endif -#include - - -#include "interface.h" - -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.4 2003-11-15 00:39:48 guy Exp $ (LBL)"; -#endif +#include #include +#include "netdissect.h" + /* * Copy src to string dst of size siz. At most siz-1 characters * will be copied. Always NUL terminates (unless siz == 0).