summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-04-08 03:23:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-04-08 03:23:44 +0200
commit04385528672f2d2585028d38e157d78495d7dad9 (patch)
treee12dc1f453f74e75e3ce4d57d2de186ee18f1a24
parenta5638acf7351b0080740a60f906014cedfea8732 (diff)
downloadkeximdb-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.h7
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