[PATCH 6/6] UML - PATH_MAX needs limits.h

Previous thread: [PATCH 3/6] UML - Deal with inaccessible address space start by Jeff Dike on Tuesday, June 3, 2008 - 3:02 pm. (1 message)

Next thread: [PATCH 1/6] UML - Deal with host time going backwards by Jeff Dike on Tuesday, June 3, 2008 - 3:02 pm. (18 messages)
To: Andrew Morton <akpm@...>, LKML <linux-kernel@...>, uml-devel <user-mode-linux-devel@...>
Cc: Ingo Molnar <mingo@...>
Date: Tuesday, June 3, 2008 - 3:02 pm

From: Ingo Molnar <mingo@elte.hu>

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>
---
arch/um/os-Linux/helper.c | 1 +
1 file changed, 1 insertion(+)

Index: linux-2.6-git/arch/um/os-Linux/helper.c
===================================================================
--- linux-2.6-git.orig/arch/um/os-Linux/helper.c 2008-05-14 10:44:02.000000000 -0400
+++ linux-2.6-git/arch/um/os-Linux/helper.c 2008-06-02 15:50:10.000000000 -0400
@@ -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"
--

Previous thread: [PATCH 3/6] UML - Deal with inaccessible address space start by Jeff Dike on Tuesday, June 3, 2008 - 3:02 pm. (1 message)

Next thread: [PATCH 1/6] UML - Deal with host time going backwards by Jeff Dike on Tuesday, June 3, 2008 - 3:02 pm. (18 messages)