summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-08-05 16:14:11 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-20 11:15:42 -0700
commit9a7b6ab850f962305ae7c5cb77c77628e734ed08 (patch)
tree0c9b42e622384bc8a1e71d9399b4233baf5056a6
parenteebf550701a6419e627596654f3a3a345a3b9bcd (diff)
downloadlwn-9a7b6ab850f962305ae7c5cb77c77628e734ed08.tar.gz
lwn-9a7b6ab850f962305ae7c5cb77c77628e734ed08.zip
uml: PATH_MAX needs limits.h
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>
-rw-r--r--arch/um/os-Linux/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/um/os-Linux/helper.c b/arch/um/os-Linux/helper.c
index 679accea2232..b6b1096152aa 100644
--- a/arch/um/os-Linux/helper.c
+++ b/arch/um/os-Linux/helper.c
@@ -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"