aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches
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
commitc0fdd94fc281afda4b58676d7ab19ff79b72dcfc (patch)
tree7e626269ccc26c5ec05215a198e87d3eb32ef0d1 /package/busybox/patches
parentd39d83de9a481bb190c8af7a4ef4e1e89b187847 (diff)
downloadupstream-c0fdd94fc281afda4b58676d7ab19ff79b72dcfc.tar.gz
upstream-c0fdd94fc281afda4b58676d7ab19ff79b72dcfc.tar.bz2
upstream-c0fdd94fc281afda4b58676d7ab19ff79b72dcfc.zip
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/patches')
-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 0000000000..64e6dd5fd1
--- /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)