summaryrefslogtreecommitdiff
path: root/community/newsbeuter/newsbeuter-2.5-gcc47.patch
blob: 48ed1682a3edf75752ac27c91e1822a46dd86738 (plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
--- newsbeuter-2.5/src/controller.cpp
+++ newsbeuter-2.5/src/controller.cpp
@@ -30,6 +30,7 @@
 #include <ctime>
 #include <cassert>
 #include <signal.h>
+#include <unistd.h>
 #include <sys/utsname.h>
 #include <langinfo.h>
 #include <libgen.h>
--- newsbeuter-2.5/src/google_api.cpp
+++ newsbeuter-2.5/src/google_api.cpp
@@ -7,6 +7,8 @@
 #include <config.h>
 #include <utils.h>
 
+#include <unistd.h>
+
 #include <curl/curl.h>
 
 #define GREADER_LOGIN					"https://www.google.com/accounts/ClientLogin"
--- newsbeuter-2.5/src/pb_controller.cpp
+++ newsbeuter-2.5/src/pb_controller.cpp
@@ -12,6 +12,7 @@
 #include <pwd.h>
 #include <cstdlib>
 #include <signal.h>
+#include <unistd.h>
 
 #include <keymap.h>
 #include <configcontainer.h>
--- newsbeuter-2.5/src/queueloader.cpp
+++ newsbeuter-2.5/src/queueloader.cpp
@@ -8,6 +8,8 @@
 #include <config.h>
 #include <libgen.h>
 
+#include <unistd.h>
+
 using namespace newsbeuter;
 
 namespace podbeuter {
--- newsbeuter-2.5/src/reloadthread.cpp
+++ newsbeuter-2.5/src/reloadthread.cpp
@@ -1,5 +1,6 @@
 #include <reloadthread.h>
 #include <logger.h>
+#include <unistd.h>
 
 namespace newsbeuter {
 
--- newsbeuter-2.5/src/utils.cpp
+++ newsbeuter-2.5/src/utils.cpp
@@ -11,6 +11,7 @@
 #include <libgen.h>
 #include <sys/utsname.h>
 
+#include <unistd.h>
 #include <sstream>
 #include <locale>
 #include <cwchar>