Skip to content

Commit d7ddc4f

Browse files
committed
fix build
1 parent cd3dbad commit d7ddc4f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

appsec/src/extension/php_compat.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ extern zend_string *zend_empty_string;
7575
#if PHP_VERSION_ID < 70300
7676
extern const HashTable zend_empty_array;
7777

78+
# define zend_hash_find_ex(ht, key, known) zend_hash_find(ht, key)
79+
7880
# define GC_ADDREF(x) (++GC_REFCOUNT(x))
7981
# define GC_DELREF(x) (--GC_REFCOUNT(x))
8082
static zend_always_inline void _gc_try_addref(zend_refcounted_h *_rc)

appsec/src/extension/request_lifecycle.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ const zend_array *nonnull _get_server_equiv(
4141
const zend_array *nonnull superglob_equiv);
4242
static uint64_t _calc_sampling_key(zend_object *root_span, int status_code,
4343
dd_api_sec_outcome *nonnull outcome);
44-
static bool _shutdown_succeeded(dd_result res);
4544
static void _register_testing_objects(void);
4645

4746
static bool _enabled_user_req;

0 commit comments

Comments
 (0)