Fix header name for 8.4
authorRemi Collet <remi@remirepo.net>
Tue, 9 Jul 2024 13:33:05 +0000 (15:33 +0200)
committerRemi Collet <remi@php.net>
Tue, 9 Jul 2024 13:33:05 +0000 (15:33 +0200)
src/php_http_message_body.c
src/php_http_misc.c

index 8bde1a770590cf75e1556ada6c50e97fafb6d241..105e369c139fa014842bc279b1ddc44d38981055 100644 (file)
 
 #include "php_http_api.h"
 
+#if PHP_VERSION_ID < 80400
 #include "ext/standard/php_lcg.h"
+#else
+#include "ext/random/php_random.h"
+#endif
 
 #define BOUNDARY_OPEN(body) \
        do {\
index 261387f6bd6ffbecb01377d2ef87efe7fd936431..d5da37fdbe087d42aa4811ffb02cb091f61b5a3a 100644 (file)
 
 #include "php_http_api.h"
 
+#if PHP_VERSION_ID < 80400
 #include "ext/standard/php_lcg.h"
+#else
+#include "ext/random/php_random.h"
+#endif
 #include "zend_exceptions.h"
 
 /* SLEEP */