X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=include%2Fasm-generic%2Ffcntl.h;h=b8477414c5c85858de58d6489673da501f93d7bf;hb=9cf52b2921fbe62566b6b2ee79f71203749c9e5e;hp=b663520dcdc487531caea8fbed1908fefa0f5754;hpb=142e27fc8a3619471669d6241784eec9167c47d1;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index b663520dcdc4..b8477414c5c8 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h @@ -1,7 +1,6 @@ #ifndef _ASM_GENERIC_FCNTL_H #define _ASM_GENERIC_FCNTL_H -#include #include /* open/fcntl - O_SYNC is only implemented on blocks devices and on files @@ -49,6 +48,9 @@ #ifndef O_NOATIME #define O_NOATIME 01000000 #endif +#ifndef O_CLOEXEC +#define O_CLOEXEC 02000000 /* set close_on_exec */ +#endif #ifndef O_NDELAY #define O_NDELAY O_NONBLOCK #endif