Browse Source

busybox: fix watchdog util compile

SVN-Revision: 16150
Felix Fietkau 16 years ago
parent
commit
98caacae20
1 changed files with 12 additions and 0 deletions
  1. 12 0
      package/busybox/patches/530-watchdog_fix.patch

+ 12 - 0
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)