cvs: php4 /ext/standard php_smart_str.h php_smart_str_public.h
| From: | Sascha Schumann | Date: | Fri, 16 Feb 2001 18:55:58 +0000 |
| Subject: | cvs: php4 /ext/standard php_smart_str.h php_smart_str_public.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-4056@lists.php.net to get a copy of this message | ||
sas Fri Feb 16 10:55:58 2001 EDT
Modified files:
/php4/ext/standard php_smart_str.h php_smart_str_public.h
Log:
Add all necessary includes for these header files.
Index: php4/ext/standard/php_smart_str.h
diff -u php4/ext/standard/php_smart_str.h:1.5 php4/ext/standard/php_smart_str.h:1.6
--- php4/ext/standard/php_smart_str.h:1.5 Tue Nov 14 12:34:14 2000
+++ php4/ext/standard/php_smart_str.h Fri Feb 16 10:55:58 2001
@@ -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) {\
Index: php4/ext/standard/php_smart_str_public.h
diff -u php4/ext/standard/php_smart_str_public.h:1.1 php4/ext/standard/php_smart_str_public.h:1.2
--- php4/ext/standard/php_smart_str_public.h:1.1 Wed Oct 11 17:48:12 2000
+++ php4/ext/standard/php_smart_str_public.h Fri Feb 16 10:55:58 2001
@@ -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;