openwrt-owl/package/busybox/patches/530-watchdog_fix.patch

13 lines
253 B
Diff

--- 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)