diff options
author | Karel Zak | 2011-09-12 13:53:10 +0200 |
---|---|---|
committer | Karel Zak | 2011-09-12 13:53:10 +0200 |
commit | e9d00e66fb60df0e1ba3e45d756f06afa44d0855 (patch) | |
tree | c0fb6becd7acb1e0fb7b4ccf1776a4305afc9d1c /include/c.h | |
parent | build-sys: add checksmatch target (diff) | |
download | kernel-qcow2-util-linux-e9d00e66fb60df0e1ba3e45d756f06afa44d0855.tar.gz kernel-qcow2-util-linux-e9d00e66fb60df0e1ba3e45d756f06afa44d0855.tar.xz kernel-qcow2-util-linux-e9d00e66fb60df0e1ba3e45d756f06afa44d0855.zip |
include,c.h: include fcntl.h before check for O_CLOEXEC [smatch scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/c.h')
-rw-r--r-- | include/c.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 <fcntl.h> #ifndef O_CLOEXEC #define O_CLOEXEC 0 #endif |