mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 23:16:16 +02:00
busybox: fix watchdog util compile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16150 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
fc87a32e79
commit
22c5f2c385
12
package/busybox/patches/530-watchdog_fix.patch
Normal file
12
package/busybox/patches/530-watchdog_fix.patch
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user