summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-01-03 07:41:03 +0000
committerJim Meyering <jim@meyering.net>2006-01-03 07:41:03 +0000
commit6a845acf0fa076258b799e6d6c3b26c3cc5353a9 (patch)
treed8883235ce386c364b6cec316cba71a94ed86ee5 /src/system.h
parentf6f906808dca5e11bd3180bfbc652de743d75a84 (diff)
downloadcoreutils-6a845acf0fa076258b799e6d6c3b26c3cc5353a9.tar.xz
(O_DIRECTORY) [!defined O_DIRECTORY]: Define.
Diffstat (limited to 'src/system.h')
-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