From 6a845acf0fa076258b799e6d6c3b26c3cc5353a9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 3 Jan 2006 07:41:03 +0000 Subject: [PATCH] (O_DIRECTORY) [!defined O_DIRECTORY]: Define. --- src/system.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/system.h b/src/system.h index 886fb6a..db3d348 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 -- 2.7.4