void-packages/srcpkgs/kexi/patches/79894e151a53c1afed55003c2e1...

32 lines
911 B
Diff

From 79894e151a53c1afed55003c2e1faf23ea463ec7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= <omerusta@gmail.com>
Date: Fri, 7 May 2021 01:17:31 +0000
Subject: [PATCH] Fix glib include position
glib shouldn't be in extern c block
---
src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h b/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
index 31f48c171..56276e2d6 100644
--- a/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
+++ b/src/migration/mdb/3rdparty/mdbtools/include/mdbtools.h
@@ -18,6 +18,8 @@
#ifndef _mdbtools_h_
#define _mdbtools_h_
+#include <glib.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -32,7 +34,6 @@
#endif
#include <ctype.h>
#include <string.h>
-#include <glib.h>
#ifdef HAVE_ICONV
#include <iconv.h>