summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c
index 8357458214..94945183e6 100644
--- a/ext/standard/file.c
+++ b/ext/standard/file.c
@@ -115,6 +115,10 @@ php_file_globals file_globals;
#include <fnmatch.h>
#endif
+#ifdef __BEOS__
+#define realpath(x,y) strcpy(y,x)
+#endif
+
/* }}} */
/* {{{ ZTS-stuff / Globals / Prototypes */