summaryrefslogtreecommitdiff
path: root/news/pan/files/patch-pan_data_article-cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'news/pan/files/patch-pan_data_article-cache.cc')
-rw-r--r--news/pan/files/patch-pan_data_article-cache.cc29
1 files changed, 29 insertions, 0 deletions
diff --git a/news/pan/files/patch-pan_data_article-cache.cc b/news/pan/files/patch-pan_data_article-cache.cc
new file mode 100644
index 000000000000..dea9b7ac7676
--- /dev/null
+++ b/news/pan/files/patch-pan_data_article-cache.cc
@@ -0,0 +1,29 @@
+--- pan/data/article-cache.cc.orig 2021-08-03 02:00:16 UTC
++++ pan/data/article-cache.cc
+@@ -19,18 +19,15 @@
+
+ #include <config.h>
+
+-extern "C"
+-{
+- #include <errno.h>
+- #include <sys/types.h>
+- #include <sys/stat.h>
+- #include <unistd.h>
+- #include <dirent.h>
++#include <errno.h>
++#include <sys/types.h>
++#include <sys/stat.h>
++#include <unistd.h>
++#include <dirent.h>
+
+- #include <glib.h>
+- #include <glib/gi18n.h>
+- #include <gmime/gmime.h>
+-}
++#include <glib.h>
++#include <glib/gi18n.h>
++#include <gmime/gmime.h>
+
+ #include <pan/general/debug.h>
+ #include <pan/general/file-util.h>