[PATCH] sparc: fix fallout from O_CLOEXEC changes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux