Skip to content

Commit

Permalink
Fix header name for 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Jul 9, 2024
1 parent 1457873 commit 74984d4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 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"

#if PHP_VERSION_ID < 80400
#include "ext/standard/php_lcg.h"
#else
#include "ext/random/php_random.h"
#endif

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

#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 */
Expand Down

0 comments on commit 74984d4

Please sign in to comment.