summaryrefslogtreecommitdiff
blob: e4fe301a7b89ef209c6391c0b8570c189f7012ea (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
Fix ipager to compile with GCC 4.3.

Patch taken from Gentoo bug #173562.

X-Gentoo-Bug: 173562
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>

--- iconfig.old	2008-08-22 21:35:16.000000000 +0600
+++ iconfig.cpp	2008-08-22 21:35:20.000000000 +0600
@@ -30,7 +30,7 @@
 #include <iostream>
 #include <fstream>
 #include <sstream>
-
+#include <stdlib.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 
--- wm.old	2008-08-22 21:52:36.000000000 +0600
+++ wm.cpp	2008-08-22 21:52:40.000000000 +0600
@@ -27,7 +27,7 @@
 
 #include <time.h>
 #include "atoms.h"
-
+#include <stdlib.h>
 
 WM * WM::m_instance = 0;
 bool WM::x_error = false;