From f98351d988925a38f4a30bf06d8b3a9cd8196b4e Mon Sep 17 00:00:00 2001 From: brarcher Date: Tue, 6 Nov 2012 04:10:44 +0000 Subject: [PATCH] fix compiler warning: subunit header file not found The code is using ENABLE_SUBUNIT to determine if subunit is available. HAVE_SUBUNIT_CHILD_H is never defined. When subunit is used, its header files are never found, causing a compiler warning. This commit replaces the #if protecting the header to be consistent with the rest of the code. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@660 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- src/check_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_log.c b/src/check_log.c index 6af444e..2bfee88 100644 --- a/src/check_log.c +++ b/src/check_log.c @@ -23,7 +23,7 @@ #include #include #include -#if HAVE_SUBUNIT_CHILD_H +#if ENABLE_SUBUNIT #include #endif -- 2.40.0