浏览代码

[WATCHDOG] includes for sample watchdog program.

Add missing includes to sample watchdog program.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Jean Delvare 19 年之前
父节点
当前提交
2db02c0fe8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Documentation/watchdog/src/watchdog-simple.c

+ 2 - 0
Documentation/watchdog/src/watchdog-simple.c

@@ -1,4 +1,6 @@
+#include <stdio.h>
 #include <stdlib.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <fcntl.h>
 #include <fcntl.h>
 
 
 int main(int argc, const char *argv[]) {
 int main(int argc, const char *argv[]) {