diff options
author | Sami Kerola | 2011-12-01 23:10:21 +0100 |
---|---|---|
committer | Karel Zak | 2011-12-02 18:21:46 +0100 |
commit | fbc333fec09394bf4e47707de08a65e8c0e9c288 (patch) | |
tree | cc581fb320208982e33ddc8e04850b80291109a9 /libblkid/src/llseek.c | |
parent | build-sys: add missing headers to dist (diff) | |
download | kernel-qcow2-util-linux-fbc333fec09394bf4e47707de08a65e8c0e9c288.tar.gz kernel-qcow2-util-linux-fbc333fec09394bf4e47707de08a65e8c0e9c288.tar.xz kernel-qcow2-util-linux-fbc333fec09394bf4e47707de08a65e8c0e9c288.zip |
build-sys: check HAVE_ definitions with #ifdef [smatch scan]
Fix to `warning: undefined preprocessor identifier' messages.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'libblkid/src/llseek.c')
-rw-r--r-- | libblkid/src/llseek.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libblkid/src/llseek.c b/libblkid/src/llseek.c index 5bd0e5167..7fb44c44d 100644 --- a/libblkid/src/llseek.c +++ b/libblkid/src/llseek.c @@ -12,14 +12,14 @@ #define _LARGEFILE_SOURCE #define _LARGEFILE64_SOURCE -#if HAVE_SYS_TYPES_H +#ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif -#if HAVE_ERRNO_H +#ifdef HAVE_ERRNO_H #include <errno.h> #endif -#if HAVE_UNISTD_H +#ifdef HAVE_UNISTD_H #include <unistd.h> #endif #ifdef __MSDOS__ |