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:23 +0200
commit233f5006870293e1c943d910c00ae2b54793f205 (patch)
tree5911c801de27a7d795a4f969fc8b2ff722fd3aff
parent1791e8b24715929eeb230fdfb59b56e2ba8896cd (diff)
downloadkeximdb-233f5006.tar.gz
keximdb-233f5006.zip
Do not enforce all includes to be as plain C because it can lead to FTBFS.HEADmaster
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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