Messages in this thread Patch in this message | | | Date | Sun, 5 Aug 2007 00:30:05 +0400 | From | Alexey Dobriyan <> | Subject | [PATCH] sparc: fix fallout from O_CLOEXEC changes |
| |
Just "#define O_CLOEXEC" is OK, because asm-generic/fcntl.h will check if it's already defined.
Loads of "struct flock inside parameter list" warnings and "O_WRONLY undefined" errors.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> ---
include/asm-sparc/fcntl.h | 1 + 1 file changed, 1 insertion(+)
--- a/include/asm-sparc/fcntl.h +++ b/include/asm-sparc/fcntl.h @@ -32,5 +32,6 @@ #define __ARCH_FLOCK_PAD short __unused; #define __ARCH_FLOCK64_PAD short __unused; +#include <asm-generic/fcntl.h> #endif - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |