Skip to content

Commit 9577b82

Browse files
committed
Add conditional on include of php_session.h
Fix for GitHub issue phpredis#137.
1 parent f8c8ab2 commit 9577b82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

igbinary/igbinary.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
#include "zend_dynamic_array.h"
1414
#include "zend_alloc.h"
1515
#include "ext/standard/info.h"
16+
#ifdef PHP_SESSION
1617
#include "ext/session/php_session.h"
18+
#endif
1719
#include "ext/standard/php_incomplete_class.h"
1820
#include "php_igbinary.h"
1921

0 commit comments

Comments
 (0)