aboutsummaryrefslogtreecommitdiff
path: root/src/strlcpy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/strlcpy.h')
-rw-r--r--src/strlcpy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/strlcpy.h b/src/strlcpy.h
index d4d1908e7a..2cc786e953 100644
--- a/src/strlcpy.h
+++ b/src/strlcpy.h
@@ -15,6 +15,10 @@
*/
#ifndef BITCOIN_STRLCPY_H
#define BITCOIN_STRLCPY_H
+
+#include <stdlib.h>
+#include <string.h>
+
/*
* Copy src to string dst of size siz. At most siz-1 characters
* will be copied. Always NUL terminates (unless siz == 0).