From: brarcher Date: Tue, 6 Nov 2012 04:10:44 +0000 (+0000) Subject: fix compiler warning: subunit header file not found X-Git-Tag: 0.10.0~520 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f98351d988925a38f4a30bf06d8b3a9cd8196b4e;p=check 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 --- 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