summaryrefslogtreecommitdiff
path: root/news/pan/files/patch-pan_general_file-util.cc
diff options
context:
space:
mode:
authorNeel Chauhan <nc@FreeBSD.org>2021-08-02 19:30:41 -0700
committerNeel Chauhan <nc@FreeBSD.org>2021-08-02 19:47:10 -0700
commita0676fc963bff28aaf70f27f61aba44fa434d13c (patch)
treea2bd8bb39b493da56151b75fd827ba3f8005a752 /news/pan/files/patch-pan_general_file-util.cc
parentemulators/open-vm-tools: Prepare for glib 2.68.3 (diff)
news/pan: Prepare for glib 2.68.3
PR: 256200
Diffstat (limited to 'news/pan/files/patch-pan_general_file-util.cc')
-rw-r--r--news/pan/files/patch-pan_general_file-util.cc28
1 files changed, 28 insertions, 0 deletions
diff --git a/news/pan/files/patch-pan_general_file-util.cc b/news/pan/files/patch-pan_general_file-util.cc
new file mode 100644
index 000000000000..75d30c1a8c79
--- /dev/null
+++ b/news/pan/files/patch-pan_general_file-util.cc
@@ -0,0 +1,28 @@
+--- pan/general/file-util.cc.orig 2021-08-03 01:55:38 UTC
++++ pan/general/file-util.cc
+@@ -22,17 +22,14 @@
+ #include <cerrno>
+ #include <cctype>
+
+-extern "C"
+-{
+- #include <unistd.h>
+- #include <sys/stat.h>
+- #include <sys/types.h>
+- #include <glib.h>
+- #include <glib/gi18n.h>
+- #ifndef G_OS_WIN32
+- #include <pwd.h>
+- #endif
+-}
++#include <unistd.h>
++#include <sys/stat.h>
++#include <sys/types.h>
++#include <glib.h>
++#include <glib/gi18n.h>
++#ifndef G_OS_WIN32
++ #include <pwd.h>
++#endif
+
+ #include "debug.h"
+ #include "log.h"