busybox: fix watchdog util compile
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 May 2009 16:55:52 +0000 (16:55 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 28 May 2009 16:55:52 +0000 (16:55 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16150 3c298f89-4303-0410-b956-a3cf2f4a3e73

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)