uml: fix build error
authorIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 16:59:42 +0000 (18:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 17:21:16 +0000 (19:21 +0200)
fix:

 arch/um/os-Linux/helper.c: In function 'run_helper':
 arch/um/os-Linux/helper.c:73: error: 'PATH_MAX' undeclared (first use in this function)

Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/um/os-Linux/helper.c

index f4bd349..f25c29a 100644 (file)
@@ -14,6 +14,7 @@
 #include "os.h"
 #include "um_malloc.h"
 #include "user.h"
+#include <linux/limits.h>
 
 struct helper_data {
        void (*pre_exec)(void*);