From d75e676ffdf5095a5f4361110a760bf0d902f80f Mon Sep 17 00:00:00 2001 From: Antonio Argenziano Date: Fri, 23 Feb 2018 15:14:40 -0800 Subject: igt: Make libudev mandatory Since more essential components use libudev, make its dependency mandatory. Signed-off-by: Antonio Argenziano Cc: Chris Wilson Cc: Daniel Vetter Cc: Petri Latvala Cc: Arkadiusz Hiler Reviewed-by: Chris Wilson Acked-by: Petri Latvala --- lib/igt_aux.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'lib/igt_aux.c') diff --git a/lib/igt_aux.c b/lib/igt_aux.c index a23375a4..aabf6e50 100644 --- a/lib/igt_aux.c +++ b/lib/igt_aux.c @@ -50,6 +50,7 @@ #include #include +#include #include "drmtest.h" #include "i915_drm.h" @@ -425,8 +426,6 @@ void igt_stop_shrink_helper(void) igt_stop_helper(&shrink_helper); } -#ifdef HAVE_UDEV -#include static struct igt_helper_process hang_detector; static void __attribute__((noreturn)) @@ -506,17 +505,6 @@ void igt_stop_hang_detector(void) { igt_stop_helper(&hang_detector); } -#else -void igt_fork_hang_detector(int fd) -{ - if (igt_only_list_subtests()) - return; -} - -void igt_stop_hang_detector(void) -{ -} -#endif /** * igt_check_boolean_env_var: -- cgit v1.2.3