summaryrefslogtreecommitdiff
path: root/src/string/strlcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strlcpy.c')
-rw-r--r--src/string/strlcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string/strlcpy.c b/src/string/strlcpy.c
index 4d3ff92a..193d7241 100644
--- a/src/string/strlcpy.c
+++ b/src/string/strlcpy.c
@@ -1,5 +1,5 @@
+#define _BSD_SOURCE
#include <string.h>
-#include <stdlib.h>
#include <stdint.h>
#include <limits.h>
#include "libc.h"