diff -r 78e9bad9dae3 BBGE/Joystick.cpp
--- a/BBGE/Joystick.cpp Sun Apr 01 21:34:26 2012 +0200
+++ b/BBGE/Joystick.cpp Sat May 12 17:46:47 2012 +0200
@@ -72,6 +72,7 @@
#include <linux/input.h>
#include <errno.h>
#include <iostream>
+#include <unistd.h>
#define BITS_TO_LONGS(x) \
(((x) + 8 * sizeof (unsigned long) - 1) / (8 * sizeof (unsigned long)))
diff -r 78e9bad9dae3 BBGE/SoundManager.cpp
--- a/BBGE/SoundManager.cpp Sun Apr 01 21:34:26 2012 +0200
+++ b/BBGE/SoundManager.cpp Sat May 12 17:46:47 2012 +0200
@@ -18,6 +18,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <unistd.h>
#include "SoundManager.h"
#include "Core.h"
#include "Base.h"