diff options
author | Sven Viilup | 2016-02-02 20:00:47 +0200 |
---|---|---|
committer | Sven Viilup | 2016-02-02 20:00:47 +0200 |
commit | a9c6d8a67b6ba46a8543312d312306c2eeafee85 (patch) | |
tree | 2492fd863e8bc4c65b3255536bce74e9c7550522 /fix-64-bit-implicit-declarations.patch | |
download | aur-a9c6d8a67b6ba46a8543312d312306c2eeafee85.tar.gz |
Initial commit
Diffstat (limited to 'fix-64-bit-implicit-declarations.patch')
-rw-r--r-- | fix-64-bit-implicit-declarations.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/fix-64-bit-implicit-declarations.patch b/fix-64-bit-implicit-declarations.patch new file mode 100644 index 000000000000..71a73c08a464 --- /dev/null +++ b/fix-64-bit-implicit-declarations.patch @@ -0,0 +1,14 @@ +Description: Fixes the implicit declarations warnings and stops segfaults +on 64 bit architectures +--- madfuload.c.orig ++++ madfuload.c +@@ -16,7 +16,8 @@ + #include <fcntl.h> + #include <getopt.h> + #include <syslog.h> +-#include <linux/ioctl.h> ++#include <sys/ioctl.h> ++#include <string.h> + + /* USB stuff -- we can't rely on all Linux headers being there */ + |