]> err.no Git - linux-2.6/commitdiff
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 f4bd349d441222fb7c400ac63d8e7b8c390784a2..f25c29a12d007676d736ed8b8fcb9c9e47a0eaed 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*);