From e9d00e66fb60df0e1ba3e45d756f06afa44d0855 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 12 Sep 2011 13:53:10 +0200 Subject: include,c.h: include fcntl.h before check for O_CLOEXEC [smatch scan] Signed-off-by: Karel Zak --- include/c.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/c.h') diff --git a/include/c.h b/include/c.h index 975cc1bf4..cecd05d47 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 -- cgit v1.2.3-55-g7522