summaryrefslogtreecommitdiffstats
path: root/package/busybox
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-28 16:55:52 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-28 16:55:52 +0000
commit22c5f2c385670ad1e1dd66340424ab79a7d9c0d8 (patch)
tree7e626269ccc26c5ec05215a198e87d3eb32ef0d1 /package/busybox
parentfc87a32e79f0276658103c9369f9f4cbafab8ad6 (diff)
busybox: fix watchdog util compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16150 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox')
-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 000000000..64e6dd5fd
--- /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)