[PATCH 14/14] uml: PATH_MAX needs limits.h

From: Jeff Dike
Date: Tue Aug 05 2008 - 16:18:58 EST


>From b6d8adf477439e7086224bc9674c6b6638780783

From: Ingo Molnar <mingo@xxxxxxx>

Include limits.h to get a definition of PATH_MAX.

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Jeff Dike <jdike@xxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
---
arch/um/os-Linux/helper.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/um/os-Linux/helper.c b/arch/um/os-Linux/helper.c
index 679acce..b6b1096 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"
--
1.5.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/