summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-02-16 18:55:58 +0000
committerSascha Schumann <sas@php.net>2001-02-16 18:55:58 +0000
commit7911be587b8ce80fc3147a9cb25ac4f0dcee99b6 (patch)
treee6d38b8b433af37fc28b20a79b502850e8ce37b6
parent0b11c910f53110e3fd3d97ebda81aa3292ed46fc (diff)
downloadphp-git-7911be587b8ce80fc3147a9cb25ac4f0dcee99b6.tar.gz
Add all necessary includes for these header files.
-rw-r--r--ext/standard/php_smart_str.h3
-rw-r--r--ext/standard/php_smart_str_public.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/ext/standard/php_smart_str.h b/ext/standard/php_smart_str.h
index fce92af818..a489fab0bc 100644
--- a/ext/standard/php_smart_str.h
+++ b/ext/standard/php_smart_str.h
@@ -21,6 +21,9 @@
#include "php_smart_str_public.h"
+#include <stdlib.h>
+#include <zend.h>
+
#define smart_str_0(x) ((x)->c[(x)->len] = '\0')
#define smart_str_alloc(d,n,what) {\
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;