diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2021-04-08 03:23:23 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2021-04-08 03:23:44 +0200 |
commit | 04385528672f2d2585028d38e157d78495d7dad9 (patch) | |
tree | e12dc1f453f74e75e3ce4d57d2de186ee18f1a24 | |
parent | a5638acf7351b0080740a60f906014cedfea8732 (diff) | |
download | keximdb-r14.0.10.tar.gz keximdb-r14.0.10.zip |
Do not enforce all includes to be as plain C because it can lead to FTBFS.r14.0.10
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 233f5006870293e1c943d910c00ae2b54793f205)
-rw-r--r-- | keximdb/src/mdbtools/include/mdbtools.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/keximdb/src/mdbtools/include/mdbtools.h b/keximdb/src/mdbtools/include/mdbtools.h index e996652..3296e7b 100644 --- a/keximdb/src/mdbtools/include/mdbtools.h +++ b/keximdb/src/mdbtools/include/mdbtools.h @@ -19,9 +19,6 @@ #ifndef _mdbtools_h_ #define _mdbtools_h_ -#ifdef __cplusplus - extern "C" { -#endif #include <stdio.h> #include <stdlib.h> #include <stdarg.h> @@ -38,6 +35,10 @@ #include <iconv.h> #endif +#ifdef __cplusplus + extern "C" { +#endif + #define MDB_DEBUG 0 #define MDB_PGSIZE 4096 |