summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/codepointiterator_internal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/intl/breakiterator/codepointiterator_internal.cpp')
-rw-r--r--ext/intl/breakiterator/codepointiterator_internal.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/intl/breakiterator/codepointiterator_internal.cpp b/ext/intl/breakiterator/codepointiterator_internal.cpp
index bf9239d531..723cfd5022 100644
--- a/ext/intl/breakiterator/codepointiterator_internal.cpp
+++ b/ext/intl/breakiterator/codepointiterator_internal.cpp
@@ -1,6 +1,6 @@
/*
+----------------------------------------------------------------------+
- | PHP Version 5 |
+ | PHP Version 7 |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
@@ -18,9 +18,11 @@
#include <unicode/uchriter.h>
#include <typeinfo>
+#include "php.h"
+
//copied from cmemory.h, which is not public
typedef union {
- long t1;
+ zend_long t1;
double t2;
void *t3;
} UAlignedMemory;