Skip to content

Commit 50e9590

Browse files
committed
Merge pull request #43 from weixinhost/master
Update msgpack.c。貌似缺少一个头文件引入的判断
2 parents 2eba69a + 7ff28d3 commit 50e9590

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

msgpack.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
#include "ext/standard/info.h" /* for php_info */
99
#include "ext/standard/php_incomplete_class.h" /* for incomplete_class */
1010
#include "ext/standard/php_var.h" /* for PHP_VAR_SERIALIZE */
11+
12+
#if HAVE_PHP_SESSION
1113
#include "ext/session/php_session.h" /* for php_session_register_serializer */
14+
#endif
1215

1316
#include "php_msgpack.h"
1417
#include "msgpack_pack.h"

0 commit comments

Comments
 (0)