blob: 71a73c08a464c47881f4f4456db5c36eee4b04cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 */
|