diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-04-12 07:43:57 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-04-12 07:43:57 +0200 |
commit | c3f5e30069efd2d645121652f1eb63cdcb725194 (patch) | |
tree | 4887931c49d7a3302b92c545de00f73c00572a97 | |
parent | 919a940bb9d83c7af3bb4eac2b737290c3021a36 (diff) | |
download | input-c3f5e30069efd2d645121652f1eb63cdcb725194.tar.gz |
fix build with newer linux kernels
-rwxr-xr-x | name.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,7 +1,11 @@ #!/bin/sh TYPE="$1" -INPUT="/usr/include/linux/input.h" +if test -f "/usr/include/linux/input-event-codes.h"; then + INPUT="/usr/include/linux/input-event-codes.h" +else + INPUT="/usr/include/linux/input.h" +fi awk " /KEY_MIN_INTERESTING/ {next}; |