summaryrefslogtreecommitdiff
path: root/arscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'arscan.c')
-rw-r--r--arscan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arscan.c b/arscan.c
index da76bb0..41c50c1 100644
--- a/arscan.c
+++ b/arscan.c
@@ -16,7 +16,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "make.h"
-#if defined (USG) || defined (POSIX)
+
+#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#else
#include <sys/file.h>