summaryrefslogtreecommitdiff
path: root/ext/standard/php_smart_str_public.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/php_smart_str_public.h')
-rw-r--r--ext/standard/php_smart_str_public.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/php_smart_str_public.h b/ext/standard/php_smart_str_public.h
index d561582369..4d448be312 100644
--- a/ext/standard/php_smart_str_public.h
+++ b/ext/standard/php_smart_str_public.h
@@ -19,6 +19,8 @@
#ifndef PHP_SMART_STR_PUBLIC_H
#define PHP_SMART_STR_PUBLIC_H
+#include <sys/types.h>
+
typedef struct {
char *c;
size_t len;