[PATCH] Do not #include evolution-data-server with C linkage
authorDavid Seifert <soap@gentoo.org>
Mon, 21 Oct 2019 20:55:12 +0000 (22:55 +0200)
committerSebastien Bacher <seb128@ubuntu.com>
Thu, 2 Apr 2020 12:46:29 +0000 (13:46 +0100)
Fixes #2 https://gitlab.gnome.org/World/AbiWord/issues/2
Fixes https://bugs.gentoo.org/690162

Gbp-Pq: Name git_build_fix.patch

src/text/ptbl/xp/pd_DocumentRDF.cpp

index 060954a9288cce34871eada6413072594b1e46db..3e2b7408aa552c8b2899efe88460b39bce6e27ed 100644 (file)
@@ -1883,9 +1883,7 @@ PD_RDFContact::className() const
 
 
 #ifdef WITH_EVOLUTION_DATA_SERVER
-extern "C" {
-  #include <libebook/libebook.h>
-};
+#include <libebook/libebook.h>
 
 static std::string get( EVCard* c, const char* v )
 {