From 94c56559ca485c32c0e5c7253d22159ab1bbc0ea Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 17 Aug 2015 15:11:00 +0200 Subject: [PATCH] dmsetup: fix usage of ifdefs --- tools/dmsetup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/dmsetup.c b/tools/dmsetup.c index 097f1fda5..dc002b0ca 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -48,11 +48,11 @@ # include #endif -#if HAVE_SYS_TIMERFD_H +#ifdef HAVE_SYS_TIMERFD_H # include #endif -#if HAVE_TERMIOS_H +#ifdef HAVE_TERMIOS_H # include #endif @@ -532,7 +532,7 @@ static uint64_t _interval_num(void) return 1 + (uint64_t) _int_args[COUNT_ARG] - _count; } -#if HAVE_SYS_TIMERFD_H +#ifdef HAVE_SYS_TIMERFD_H static int _start_timerfd_timer(void) { struct itimerspec interval_timer;