Skip to contentSkip to conversation

UML - PATH_MAX needs limits.h

PATCH In review Jeff Dike 1 participant 1 message Jun 3, 2008 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 6/6 UML - PATH_MAX needs limits.h

From: Ingo Molnar <[email protected]>

Include limits.h to get a definition of PATH_MAX.

---
 arch/um/os-Linux/helper.c |    1 +
 1 file changed, 1 insertion(+)
arch/um/os-Linux/helper.c +1 -0
Index: linux-2.6-git/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"

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel