mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
busybox: fix watchdog util compile
SVN-Revision: 16150
This commit is contained in:
parent
43296ea284
commit
98caacae20
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