From 8b85382f29288bd4a8400844934241003e24bb4c Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 9 Jul 2024 15:17:19 +0200 Subject: Fix compilation for PHP84+ PHP changed some includes for PHP8.4. This commit also adds php8.4-rc to the CI This fixes #497 and #496 Reported-by: rainerjung --- src/tweetnacl.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/tweetnacl.c') diff --git a/src/tweetnacl.c b/src/tweetnacl.c index 746cabc..e6d6ed2 100644 --- a/src/tweetnacl.c +++ b/src/tweetnacl.c @@ -1,7 +1,6 @@ /* Since TweetNacl doesn't come with a `randombytes` implementation, we're using the one from PHP.*/ #include "php_snuffleupagus.h" -#include "ext/standard/php_random.h" static void randombytes(unsigned char *x, unsigned long long xlen) { assert(SIZE_MAX >= ULLONG_MAX); // max(size_t) > max(ull) ? -- cgit v1.3