summaryrefslogtreecommitdiff
path: root/extra/watchdog/watchdog-5.12-fix-oom-in-wd_keepalive.patch
blob: dfc06b8673546a319c6229e2f0ea6af3b9bc4cdd (plain)
1
2
3
4
5
6
7
8
9
10
11
diff -Nur watchdog-5.12.orig/src/wd_keepalive.c watchdog-5.12/src/wd_keepalive.c
--- watchdog-5.12.orig/src/wd_keepalive.c	2012-04-05 12:16:33.000000000 +0200
+++ watchdog-5.12/src/wd_keepalive.c	2012-05-13 16:15:36.786543263 +0200
@@ -26,6 +26,7 @@
 #include <sys/mman.h>
 #include <sys/ioctl.h>
 #include <sys/wait.h>
+#include <linux/oom.h>
 #include <linux/watchdog.h>
 #include <libgen.h>
 #include <string.h>