uml: fix build error

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <git-commits-head@...>
Date: Saturday, April 26, 2008 - 5:59 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=297e1b...
Commit:     297e1b256b1090adbb4357608be3d4301e76c0ce
Parent:     4a27214d7be31e122db4102166f49ec15958e8e9
Author:     Ingo Molnar <mingo@elte.hu>
AuthorDate: Sat Apr 26 18:59:42 2008 +0200
Committer:  Ingo Molnar <mingo@elte.hu>
CommitDate: Sat Apr 26 19:21:16 2008 +0200

    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>
---
 arch/um/os-Linux/helper.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/um/os-Linux/helper.c b/arch/um/os-Linux/helper.c
index f4bd349..f25c29a 100644
--- a/arch/um/os-Linux/helper.c
+++ b/arch/um/os-Linux/helper.c
@@ -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*);
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
uml: fix build error, Linux Kernel Mailing List..., (Sat Apr 26, 5:59 pm)