summaryrefslogtreecommitdiff
path: root/missing/strlcpy.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-04-01 17:14:28 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-04-01 17:14:28 +0200
commit4708c526a30c1e5c1d574b8f6c62c0af569b7a16 (patch)
tree6b3db67de7ed512da0c77d68c60cbbfdcf52a825 /missing/strlcpy.c
parent5d6a1edd068e89b14f7525f11f992c46e16cfc2f (diff)
downloadtcpdump-4708c526a30c1e5c1d574b8f6c62c0af569b7a16.tar.gz
get rid of "no previous prototype" warnings for 'strlcat' and 'strlcpy'
Diffstat (limited to 'missing/strlcpy.c')
-rw-r--r--missing/strlcpy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/missing/strlcpy.c b/missing/strlcpy.c
index 5f3f31e9..b0671ebd 100644
--- a/missing/strlcpy.c
+++ b/missing/strlcpy.c
@@ -36,6 +36,8 @@
#include <string.h>
+#include "interface.h"
+
/*
* Copy src to string dst of size siz. At most siz-1 characters
* will be copied. Always NUL terminates (unless siz == 0).