Selaa lähdekoodia

uml: fix build error

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>
Ingo Molnar 17 vuotta sitten
vanhempi
commit
297e1b256b
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      arch/um/os-Linux/helper.c

+ 1 - 0
arch/um/os-Linux/helper.c

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