summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathis Rosenhauer <rosenhauer@dkrz.de>2014-07-29 15:36:16 +0200
committerMathis Rosenhauer <rosenhauer@dkrz.de>2014-07-29 15:36:16 +0200
commit2a4b99e84d1f34fc742659543273d48775e2c277 (patch)
treebca94a6caf0445b1ae1a26239da69b0045bdf67b
parent136f733aad73f3099e38101a9169e4d7d9e08b74 (diff)
downloadlibaec-2a4b99e84d1f34fc742659543273d48775e2c277.tar.gz
libaec-2a4b99e84d1f34fc742659543273d48775e2c277.tar.bz2
libaec-2a4b99e84d1f34fc742659543273d48775e2c277.zip
Hide config.h.
-rw-r--r--src/decode.h4
-rw-r--r--src/encode.h4
-rw-r--r--src/libaec.h4
3 files changed, 8 insertions, 4 deletions
diff --git a/src/decode.h b/src/decode.h
index 32c4671..af65bd7 100644
--- a/src/decode.h
+++ b/src/decode.h
@@ -54,6 +54,10 @@
#ifndef DECODE_H
#define DECODE_H 1
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#if HAVE_STDINT_H
# include <stdint.h>
#endif
diff --git a/src/encode.h b/src/encode.h
index 264cd77..e11cb5b 100644
--- a/src/encode.h
+++ b/src/encode.h
@@ -54,6 +54,10 @@
#ifndef ENCODE_H
#define ENCODE_H 1
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#if HAVE_STDINT_H
# include <stdint.h>
#endif
diff --git a/src/libaec.h b/src/libaec.h
index 1d99466..5acd241 100644
--- a/src/libaec.h
+++ b/src/libaec.h
@@ -55,10 +55,6 @@
#include <stddef.h>
-#if HAVE_CONFIG_H
-# include <config.h>
-#endif
-
#if _WIN32 && BUILD_SHARED_LIBS
# ifdef DLL_EXPORT
# define AEC_SCOPE __declspec(dllexport)