From: Karel Zak Date: Mon, 12 Sep 2011 11:53:10 +0000 (+0200) Subject: include,c.h: include fcntl.h before check for O_CLOEXEC [smatch scan] X-Git-Tag: v2.21-rc1~427 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e9d00e66fb60df0e1ba3e45d756f06afa44d0855;p=thirdparty%2Futil-linux.git include,c.h: include fcntl.h before check for O_CLOEXEC [smatch scan] Signed-off-by: Karel Zak --- diff --git a/include/c.h b/include/c.h index 975cc1bf4c..cecd05d470 100644 --- a/include/c.h +++ b/include/c.h @@ -198,6 +198,7 @@ static inline int dirfd(DIR *d) /* * Fallback defines for old versions of glibc */ +#include #ifndef O_CLOEXEC #define O_CLOEXEC 0 #endif