busybox: fix watchdog util compile
[openwrt-10.03/.git] / package / busybox / patches / 530-watchdog_fix.patch
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)