2008-06-03 19:05:21

by Jeff Dike

[permalink] [raw]
Subject: [PATCH 6/6] UML - PATH_MAX needs limits.h

From: Ingo Molnar <[email protected]>

Include limits.h to get a definition of PATH_MAX.

Signed-off-by: Ingo Molnar <[email protected]>
Signed-off-by: Jeff Dike <[email protected]>
---
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"