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

From: Jeff Dike
Date: Tue Jun 03 2008 - 15:05:21 EST


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>
---
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"
--
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/