From 17f9e36c8e7ebc1bbdc943e064468698e48f8e49 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Wed, 12 Apr 2017 09:19:50 +0200 Subject: Make conditions on HAVE_UDEV consistent We have a lot of `#ifdef HAVE_UDEV` and ` #if HAVE_UDEV` all over the place, but ifdef and if have a slightly different semantics. Let make it consistent by using #ifdefs only. Signed-off-by: Arkadiusz Hiler Reviewed-by: Petri Latvala --- tests/testdisplay_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testdisplay_hotplug.c') diff --git a/tests/testdisplay_hotplug.c b/tests/testdisplay_hotplug.c index 3b900ca4..cf155118 100644 --- a/tests/testdisplay_hotplug.c +++ b/tests/testdisplay_hotplug.c @@ -34,7 +34,7 @@ #endif -#if HAVE_UDEV +#ifdef HAVE_UDEV #include static struct udev_monitor *uevent_monitor; static struct udev *udev; -- cgit v1.2.3