]> git.mxchange.org Git - flightgear.git/commitdiff
Added several include files, thanks to Roland Haeder
authorThorstenB <brehmt@gmail.com>
Sat, 8 Jan 2011 21:34:43 +0000 (22:34 +0100)
committerThorstenB <brehmt@gmail.com>
Sat, 8 Jan 2011 21:34:43 +0000 (22:34 +0100)
Added includes missing for some compiler/platform.

src/Input/FGEventInput.cxx
src/Input/FGLinuxEventInput.cxx

index 29ee0977c9db50ab3f7724aa1999460d23248bc3..8bf9f304e53bb2be03e22c04bbc1182008b3e78b 100644 (file)
@@ -24,6 +24,7 @@
 #  include <config.h>
 #endif
 
+#include <cstring>
 #include "FGEventInput.hxx"
 #include <Main/fg_props.hxx>
 #include <simgear/io/sg_file.hxx>
index 621e15fd8b41a9d5994ab96139385a160f5c2ff8..03e7e05817ee7629d742810516ce84a6bfabd211 100644 (file)
 #  include <config.h>
 #endif
 
-#include "FGLinuxEventInput.hxx"
-
+#include <cstring>
+#include <sys/types.h>
+#include <sys/stat.h>
 #include <poll.h>
 #include <linux/input.h>
 #include <dbus/dbus.h>
 #include <fcntl.h>
+#include "FGLinuxEventInput.hxx"
 
 
 struct TypeCode {