com php-src: ext/sodium: explicitly include <string.h>: ext/sodium/libsodium.c
| From: | Frank Denis | Date: | Mon, 02 Oct 2017 20:10:30 +0000 |
| Subject: | com php-src: ext/sodium: explicitly include <string.h>: ext/sodium/libsodium.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99602@lists.php.net to get a copy of this message | ||
Commit: 4d1707b76401bc53c31789a785298826c6648ec9
Author: Frank Denis <github@pureftpd.org> Mon, 2 Oct 2017 22:10:30 +0200
Parents: 0726d0be9fd46764f07fa3ed42c1d74cc4f7873b
Branches: PHP-7.2
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4d1707b76401bc53c31789a785298826c6648ec9
Log:
ext/sodium: explicitly include <string.h>
Changed paths:
M ext/sodium/libsodium.c
Diff:
diff --git a/ext/sodium/libsodium.c b/ext/sodium/libsodium.c
index 30508f7..68a85ef 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)