From 5ccd5e3819f0fe2b3d8d1a49dfe830bbf40ab1c2 Mon Sep 17 00:00:00 2001 From: "snappy.mirrorbot@gmail.com" Date: Wed, 30 Mar 2011 20:27:53 +0000 Subject: Fix public issue #27: Add HAVE_CONFIG_H tests around the config.h inclusion in snappy-stubs-internal.h, which eases compiling outside the automake/autoconf framework. R=csilvers DELTA=5 (4 added, 1 deleted, 0 changed) Revision created by MOE tool push_codebase. MOE_MIGRATION=1152 git-svn-id: http://snappy.googlecode.com/svn/trunk@25 03e5f5b5-db94-4691-08a0-1a8bf15f6143 --- snappy-stubs-internal.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'snappy-stubs-internal.h') diff --git a/snappy-stubs-internal.h b/snappy-stubs-internal.h index 45cbc39..46ee235 100644 --- a/snappy-stubs-internal.h +++ b/snappy-stubs-internal.h @@ -31,6 +31,10 @@ #ifndef UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_INTERNAL_H_ #define UTIL_SNAPPY_OPENSOURCE_SNAPPY_STUBS_INTERNAL_H_ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include @@ -42,7 +46,6 @@ #include #endif -#include "config.h" #include "snappy-stubs-public.h" #if defined(__x86_64__) -- cgit v1.2.1