summaryrefslogtreecommitdiff
path: root/ext/Fcntl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/Fcntl')
-rw-r--r--ext/Fcntl/Fcntl.xs6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/Fcntl/Fcntl.xs b/ext/Fcntl/Fcntl.xs
index dfdf099762..90f3af5028 100644
--- a/ext/Fcntl/Fcntl.xs
+++ b/ext/Fcntl/Fcntl.xs
@@ -2,7 +2,11 @@
#include "perl.h"
#include "XSUB.h"
-#include <fcntl.h>
+#ifdef VMS
+# include <file.h>
+#else
+# include <fcntl.h>
+#endif
/* This comment is a kludge to get metaconfig to see the symbols
VAL_O_NONBLOCK