summaryrefslogtreecommitdiff
path: root/debian/patches/debian/gcc-4.7.diff
blob: c72ab992fd0db4e42d7743150f12d90b5c6d7588 (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
From: Matthias Klose <doko@debian.org>
Subject: [PATCH] debian/gcc-4.7

Fix build failure with GCC 4.7. Closes: #672086.

Signed-off-by: Dmitrijs Ledkovs <xnox@debian.org>
Signed-off-by: Matthias Klose <doko@debian.org>

---
 src/SFML/Window/Linux/Joystick.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/SFML/Window/Linux/Joystick.cpp b/src/SFML/Window/Linux/Joystick.cpp
index 829a741..c2dabf2 100755
--- a/src/SFML/Window/Linux/Joystick.cpp
+++ b/src/SFML/Window/Linux/Joystick.cpp
@@ -27,6 +27,7 @@
 ////////////////////////////////////////////////////////////
 #include <SFML/Window/Joystick.hpp>
 #include <sstream>
+#include <unistd.h>
 
 
 namespace sf
-- 
tg: (afb79c7..) debian/gcc-4.7 (depends on: master)