summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-05-28 16:55:52 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-05-28 16:55:52 +0000
commit98caacae20fb2c9b44f6c41896bba822973750f7 (patch)
treedd9774eb7242bef17ad410d2bbf5c8882d7b048a
parent43296ea2849d19bbfdd8574e16465dc24b4f59cb (diff)
downloadmtk-20170518-98caacae20fb2c9b44f6c41896bba822973750f7.zip
mtk-20170518-98caacae20fb2c9b44f6c41896bba822973750f7.tar.gz
mtk-20170518-98caacae20fb2c9b44f6c41896bba822973750f7.tar.bz2
busybox: fix watchdog util compile
SVN-Revision: 16150
-rw-r--r--package/busybox/patches/530-watchdog_fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/busybox/patches/530-watchdog_fix.patch b/package/busybox/patches/530-watchdog_fix.patch
new file mode 100644
index 0000000..64e6dd5
--- /dev/null
+++ b/package/busybox/patches/530-watchdog_fix.patch
@@ -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)