]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
uml: PATH_MAX needs limits.h
authorIngo Molnar <mingo@elte.hu>
Tue, 5 Aug 2008 20:14:11 +0000 (16:14 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:15:42 +0000 (11:15 -0700)
commit b6d8adf477439e7086224bc9674c6b6638780783 upstream.

Include limits.h to get a definition of PATH_MAX.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/um/os-Linux/helper.c

index 679accea2232705fa0c70b08e51611b5c9ec6f7e..b6b1096152aac3f2e98b2da44aa3ea46a02cf4ba 100644 (file)
@@ -7,6 +7,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <sched.h>
+#include <linux/limits.h>
 #include <sys/socket.h>
 #include <sys/wait.h>
 #include "kern_constants.h"