diff options
Diffstat (limited to 'x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch')
-rw-r--r-- | x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch b/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch new file mode 100644 index 000000000000..9e851ada0658 --- /dev/null +++ b/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch @@ -0,0 +1,12 @@ +Fix compilation for >=linux-headers-2.6.35 + +--- xhkeys-2.2.1/xhkeys_cdaudio.c ++++ xhkeys-2.2.1/xhkeys_cdaudio.c +@@ -16,6 +16,7 @@ + #include <string.h> + #include <stdarg.h> + #include <ctype.h> ++#include <limits.h> + #include <linux/cdrom.h> + #include <sys/ioctl.h> + #include <fcntl.h> |