summaryrefslogtreecommitdiff
path: root/main/php.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php.h')
-rw-r--r--main/php.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h
index f887726746..533d39ae1c 100644
--- a/main/php.h
+++ b/main/php.h
@@ -238,6 +238,14 @@ extern char **environ;
#define php_sleep sleep
#endif
+#ifdef PHP_PWRITE_64
+ssize_t pwrite(int, void *, size_t, off64_t);
+#endif
+
+#ifdef PHP_PREAD_64
+ssize_t pread(int, void *, size_t, off64_t);
+#endif
+
void phperror(char *error);
PHPAPI int php_write(void *buf, uint size);
PHPAPI int php_printf(const char *format, ...);