Permalink
Browse files

Need to include fcntl.h and sys/mmap.h if you intend to use O_RDONLY …

…and PROT_READ

Signed-off-by: Rick Moran <moran@morangroup.org>
  • Loading branch information...
1 parent 48af257 commit 581db9fd89edc53e9d1bdf8d4f9dfee73245656f @DrHayt DrHayt committed Apr 4, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 aware.c
View
@@ -20,6 +20,9 @@
#include "Zend/zend_builtin_functions.h"
#include "ext/standard/php_string.h"
+#include <fcntl.h>
+#include <sys/mman.h>
+
#include "zend.h"
#include "zend_ini_scanner.h"
#include "zend_language_scanner.h"

0 comments on commit 581db9f

Please sign in to comment.