浏览代码

fs/ioprio.c should #include <linux/syscalls.h>

Every file should include the headers containing the prototypes for
it's global functions.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Adrian Bunk 19 年之前
父节点
当前提交
9abdc4cd8a
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      fs/ioprio.c

+ 1 - 0
fs/ioprio.c

@@ -22,6 +22,7 @@
 #include <linux/kernel.h>
 #include <linux/ioprio.h>
 #include <linux/blkdev.h>
+#include <linux/syscalls.h>
 
 static int set_task_ioprio(struct task_struct *task, int ioprio)
 {