summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/system.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h
index 886fb6af1..db3d3489f 100644
--- a/src/system.h
+++ b/src/system.h
@@ -1,5 +1,5 @@
/* system-dependent definitions for coreutils
- Copyright (C) 1989, 1991-2005 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1991-2006 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -160,6 +160,10 @@ initialize_exit_failure (int status)
# define O_DIRECT 0
#endif
+#if !defined O_DIRECTORY
+# define O_DIRECTORY 0
+#endif
+
#if !defined O_DSYNC
# define O_DSYNC 0
#endif