Skip to content

Commit

Permalink
fix includes for PHP-master
Browse files Browse the repository at this point in the history
  • Loading branch information
m6w6 committed Aug 27, 2024
1 parent 1457873 commit 62d6ead
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/php_http_message_body.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@

#include "php_http_api.h"

#include "ext/standard/php_lcg.h"
#if PHP_VERSION_ID >= 80300
# include "ext/random/php_random.h"
#else
# include "ext/standard/php_lcg.h"
#endif

#define BOUNDARY_OPEN(body) \
do {\
Expand Down
7 changes: 6 additions & 1 deletion src/php_http_misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@

#include "php_http_api.h"

#include "ext/standard/php_lcg.h"
#if PHP_VERSION_ID >= 80300
# include "ext/random/php_random.h"
#else
# include "ext/standard/php_lcg.h"
#endif

#include "zend_exceptions.h"

/* SLEEP */
Expand Down

0 comments on commit 62d6ead

Please sign in to comment.