busybox: fix watchdog util compile
authorFelix Fietkau <nbd@openwrt.org>
Thu, 28 May 2009 16:55:52 +0000 (16:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Thu, 28 May 2009 16:55:52 +0000 (16:55 +0000)
SVN-Revision: 16150

package/busybox/patches/530-watchdog_fix.patch [new file with mode: 0644]

diff --git a/package/busybox/patches/530-watchdog_fix.patch b/package/busybox/patches/530-watchdog_fix.patch
new file mode 100644 (file)
index 0000000..64e6dd5
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/miscutils/watchdog.c
++++ b/miscutils/watchdog.c
+@@ -10,7 +10,8 @@
+  */
+ #include "libbb.h"
+-#include "linux/watchdog.h"
++#include <linux/types.h>
++#include <linux/watchdog.h>
+ #define OPT_FOREGROUND  (1 << 0)
+ #define OPT_STIMER      (1 << 1)