summaryrefslogtreecommitdiff
path: root/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'strlcpy.c')
-rw-r--r--strlcpy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/strlcpy.c b/strlcpy.c
index e9a7fe4..ab420b6 100644
--- a/strlcpy.c
+++ b/strlcpy.c
@@ -19,6 +19,8 @@
#include <sys/types.h>
#include <string.h>
+#include "compat.h"
+
/*
* Copy string src to buffer dst of size dsize. At most dsize-1
* chars will be copied. Always NUL terminates (unless dsize == 0).