diff options
author | Joakim Soderberg <joakim.soderberg@gmail.com> | 2014-01-13 17:13:44 +0100 |
---|---|---|
committer | Joakim Soderberg <joakim.soderberg@gmail.com> | 2014-01-27 12:48:52 +0100 |
commit | 3fe8f74e7f292f856717f7c0a3dccd4a45e574c1 (patch) | |
tree | 7e38f9d91359d1bdce323b790f188462b0f85135 /test/suites/api | |
parent | 913937c98d2b530292e35b7c3fb6c21b576698e9 (diff) | |
download | jansson-3fe8f74e7f292f856717f7c0a3dccd4a45e574c1.zip jansson-3fe8f74e7f292f856717f7c0a3dccd4a45e574c1.tar.gz jansson-3fe8f74e7f292f856717f7c0a3dccd4a45e574c1.tar.bz2 |
Renamed config.h -> jansson_private_config.h
This is because it's really easy to get a name collission if compiling
Jansson as a subproject in a larger CMake project. If one project includes
several subprojects each having their own config.h, this will cause the
wrong file to be loaded.
Diffstat (limited to 'test/suites/api')
-rw-r--r-- | test/suites/api/test_pack.c | 2 | ||||
-rw-r--r-- | test/suites/api/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/suites/api/test_pack.c b/test/suites/api/test_pack.c index 348d8b2..487137c 100644 --- a/test/suites/api/test_pack.c +++ b/test/suites/api/test_pack.c @@ -7,7 +7,7 @@ */ #ifdef HAVE_CONFIG_H -#include <config.h> +#include <jansson_private_config.h> #endif #include <jansson_config.h> diff --git a/test/suites/api/util.h b/test/suites/api/util.h index b86a546..e4019de 100644 --- a/test/suites/api/util.h +++ b/test/suites/api/util.h @@ -9,7 +9,7 @@ #define UTIL_H #ifdef HAVE_CONFIG_H -#include <config.h> +#include <jansson_private_config.h> #endif #include <stdio.h> |