Skip to content

Commit 47d698a

Browse files
committed
fix for circular dependencies
1 parent ff9a8ef commit 47d698a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

agent/php_newrelic.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#include "php_extension.h"
1717
#include "util_hashmap.h"
1818
#include "util_matcher.h"
19-
#include "php_user_instrument_wraprec_hashmap.h"
2019
#include "util_vector.h"
2120

2221
#define PHP_NEWRELIC_EXT_NAME "newrelic"
@@ -104,7 +103,9 @@ extern zend_module_entry newrelic_module_entry;
104103
*/
105104
#define NR_UNUSED_TSRMLS
106105

106+
/* move include here to avoid circular dependencies */
107107
#include "php_user_instrument.h"
108+
#include "php_user_instrument_wraprec_hashmap.h"
108109

109110
typedef enum {
110111
NR_FW_UNSET = 0,

0 commit comments

Comments
 (0)