task_nommu: fix compile failing bug because of spilt file.h
authorBryan Wu <cooloney@kernel.org>
Sun, 4 May 2008 15:12:55 +0000 (23:12 +0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 5 May 2008 00:08:48 +0000 (17:08 -0700)
  CC      fs/proc/task_nommu.o
fs/proc/task_nommu.c: In function ‘task_mem’:
fs/proc/task_nommu.c:55: error: dereferencing pointer to incomplete type
make[2]: *** [fs/proc/task_nommu.o] Error 1
make[1]: *** [fs/proc] Error 2
make: *** [fs] Error 2

Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_nommu.c

index 4b733f1..4b4f9cc 100644 (file)
@@ -1,6 +1,7 @@
 
 #include <linux/mm.h>
 #include <linux/file.h>
+#include <linux/fdtable.h>
 #include <linux/mount.h>
 #include <linux/ptrace.h>
 #include <linux/seq_file.h>