summaryrefslogtreecommitdiff
path: root/news/pan/files/patch-pan_general_file-util.cc
blob: 75d30c1a8c794e34db5bb414ec0b72c7875b14cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"