summaryrefslogtreecommitdiff
path: root/main/php_streams.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 20:57:25 +0200
committerAnatol Belski <ab@php.net>2014-08-25 20:57:25 +0200
commit455741fce3c4f4392deb97775cba7a39f6490271 (patch)
tree6c6502ab5b26ae10df7773dfae0e714fa931ee97 /main/php_streams.h
parent54102822583912de26bb6c7cc2d0c609952a4775 (diff)
downloadphp-git-455741fce3c4f4392deb97775cba7a39f6490271.tar.gz
master renames phase 4
Diffstat (limited to 'main/php_streams.h')
-rw-r--r--main/php_streams.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/main/php_streams.h b/main/php_streams.h
index 1daa0d9d67..ad9ea92c1c 100644
--- a/main/php_streams.h
+++ b/main/php_streams.h
@@ -26,6 +26,8 @@
#endif
#include <sys/types.h>
#include <sys/stat.h>
+#include "zend.h"
+#include "zend_stream.h"
BEGIN_EXTERN_C()
PHPAPI int php_file_le_stream(void);
@@ -103,16 +105,6 @@ typedef struct _php_stream_filter php_stream_filter;
#include "streams/php_stream_context.h"
#include "streams/php_stream_filter_api.h"
-#ifdef _WIN64
-# define php_fstat _fstat64
-# define php_stat_fn _stat64
-typedef struct __stat64 zend_stat_t;
-#else
-# define php_fstat fstat
-# define php_stat_fn stat
-typedef struct stat zend_stat_t;
-#endif
-
typedef struct _php_stream_statbuf {
zend_stat_t sb; /* regular info */
/* extended info to go here some day: content-type etc. etc. */