summaryrefslogtreecommitdiff
path: root/missing/strlcpy.c
diff options
context:
space:
mode:
authorrisso <risso>2002-08-01 08:52:55 +0000
committerrisso <risso>2002-08-01 08:52:55 +0000
commit3d932490b826facb568937a1290910a1265267f5 (patch)
tree65e999a8071b1f4bad5c7d437d3846b777f302db /missing/strlcpy.c
parente5ec03a25c981b8df7f81fe6f91deb4879524065 (diff)
downloadtcpdump-3d932490b826facb568937a1290910a1265267f5.tar.gz
Added support for Win32, based on WinPcap.
Diffstat (limited to 'missing/strlcpy.c')
-rw-r--r--missing/strlcpy.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/missing/strlcpy.c b/missing/strlcpy.c
index 76f58bbf..db94c7d2 100644
--- a/missing/strlcpy.c
+++ b/missing/strlcpy.c
@@ -30,15 +30,16 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.1 2000-01-19 05:34:19 itojun Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/missing/strlcpy.c,v 1.2 2002-08-01 08:53:40 risso Exp $ (LBL)";
#endif
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
-#include <sys/types.h>
-#include <string.h>
+#include <tcpdump-stdinc.h>
-#include "interface.h"
+#include <string.h>
/*
* Copy src to string dst of size siz. At most siz-1 characters