summaryrefslogtreecommitdiff
path: root/snappy-stubs-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'snappy-stubs-internal.h')
-rw-r--r--snappy-stubs-internal.h5
1 files changed, 4 insertions, 1 deletions
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 <iostream>
#include <string>
@@ -42,7 +46,6 @@
#include <sys/mman.h>
#endif
-#include "config.h"
#include "snappy-stubs-public.h"
#if defined(__x86_64__)