]> granicus.if.org Git - php/commitdiff
Add all necessary includes for these header files.
authorSascha Schumann <sas@php.net>
Fri, 16 Feb 2001 18:55:58 +0000 (18:55 +0000)
committerSascha Schumann <sas@php.net>
Fri, 16 Feb 2001 18:55:58 +0000 (18:55 +0000)
ext/standard/php_smart_str.h
ext/standard/php_smart_str_public.h

index fce92af81872f0b29e8a2b6aa95b11ec55116672..a489fab0bcc2c4549315b5a22e5e55a9429cd3fe 100644 (file)
@@ -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 d561582369b8cda893f7a6b4691b58244ad3008c..4d448be312ba52ee1adcceca0721a0921fd722f5 100644 (file)
@@ -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;