diff options
author | bobo1on1 <bob-nospam-@xbmc.org> | 2011-04-03 22:55:52 +0200 |
---|---|---|
committer | bobo1on1 <bob-nospam-@xbmc.org> | 2011-04-03 22:56:20 +0200 |
commit | 62d31c3c004f5a62a4d7880f634c2688da5dbc0b (patch) | |
tree | 511d094402a22811bb244003032622ae84a74677 | |
parent | ddd457cb455ae9f21d236e1d7ceacb7d87dc235c (diff) |
fixed: LIRC.h already includes system.h which includes config.h, there's no need to include config.h in LIRC.cpp, this also works around a weird-ass issue with gcc 4.4.5 where it takes the config.h from system.h so that sys/inotify.h is never included
-rw-r--r-- | xbmc/input/linux/LIRC.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xbmc/input/linux/LIRC.cpp b/xbmc/input/linux/LIRC.cpp index 9638f34346..8bd4c61078 100644 --- a/xbmc/input/linux/LIRC.cpp +++ b/xbmc/input/linux/LIRC.cpp @@ -19,17 +19,16 @@ * */ -#include "config.h" #include <sys/time.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> -#ifdef HAVE_INOTIFY -#include <sys/inotify.h> -#endif #include <limits.h> #include <unistd.h> #include "LIRC.h" +#ifdef HAVE_INOTIFY +#include <sys/inotify.h> +#endif #include "input/ButtonTranslator.h" #include "utils/log.h" #include "settings/AdvancedSettings.h" |