summaryrefslogtreecommitdiff
path: root/x11-misc/xhkeys/files/xhkeys-2.2.1-linux_headers.patch
blob: 38901576c26a97b3c2c39484833d576245beb4aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Fix compilation for >=linux-headers-2.6.35

--- a/xhkeys_cdaudio.c
+++ b/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>