From 80ab232060c81a84f47d1b79bad6c69ae850b50b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 19 May 2012 22:11:51 +0900 Subject: [PATCH] Guard include of config.h with HAVE_CONFIG_H --- examples/HtmlParser.h | 4 +++- examples/spdycat.cc | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/HtmlParser.h b/examples/HtmlParser.h index eeb1a078..1366d89e 100644 --- a/examples/HtmlParser.h +++ b/examples/HtmlParser.h @@ -25,7 +25,9 @@ #ifndef HTML_PARSER_H #define HTML_PARSER_H -#include +#ifdef HAVE_CONFIG_H +# include +#endif // HAVE_CONFIG_H #include #include diff --git a/examples/spdycat.cc b/examples/spdycat.cc index f54be6d9..7a21ac93 100644 --- a/examples/spdycat.cc +++ b/examples/spdycat.cc @@ -22,7 +22,9 @@ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include +#ifdef HAVE_CONFIG_H +# include +#endif // HAVE_CONFIG_H #include #include