]> err.no Git - linux-2.6/commitdiff
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 4b733f108455273ce52ce73c4f410d74a9ea2b2e..4b4f9cc2f186a72705a2525367b8861b6889a0ad 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>