summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arscan.c b/arscan.c
index 45ae729..edc3b29 100644
--- a/arscan.c
+++ b/arscan.c
@@ -30,7 +30,7 @@
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef USG
+#if defined (USG) || defined (POSIX)
#include <fcntl.h>
#else
#include <sys/file.h>