summaryrefslogtreecommitdiff
path: root/ext/sodium
diff options
context:
space:
mode:
authorFrank Denis <github@pureftpd.org>2017-10-02 22:10:30 +0200
committerFrank Denis <github@pureftpd.org>2017-10-02 22:10:30 +0200
commit4d1707b76401bc53c31789a785298826c6648ec9 (patch)
tree6e95fef1847dbbe094502246ed9e519e4079fced /ext/sodium
parent0726d0be9fd46764f07fa3ed42c1d74cc4f7873b (diff)
downloadphp-git-4d1707b76401bc53c31789a785298826c6648ec9.tar.gz
ext/sodium: explicitly include <string.h>
Diffstat (limited to 'ext/sodium')
-rw-r--r--ext/sodium/libsodium.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/sodium/libsodium.c b/ext/sodium/libsodium.c
index 30508f7ff1..68a85ef4f0 100644
--- a/ext/sodium/libsodium.c
+++ b/ext/sodium/libsodium.c
@@ -28,6 +28,7 @@
#include <sodium.h>
#include <stdint.h>
+#include <string.h>
#define PHP_SODIUM_ZSTR_TRUNCATE(zs, len) do { ZSTR_LEN(zs) = (len); } while(0)