From 56d51abd1fd21291f0bcdae75da9cdf2f2e31103 Mon Sep 17 00:00:00 2001 From: tg Date: Sat, 8 Aug 2009 13:52:35 +0000 Subject: [PATCH] need for mode_t --- Build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Build.sh b/Build.sh index 6678765..c8d2c86 100644 --- a/Build.sh +++ b/Build.sh @@ -1,5 +1,5 @@ #!/bin/sh -srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.420 2009/08/08 13:08:48 tg Exp $' +srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.421 2009/08/08 13:52:35 tg Exp $' #- # Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009 # Thorsten Glaser @@ -1209,6 +1209,7 @@ ac_test setmode mknod 1 <<-'EOF' /* force a failure: Win32 setmode() is not what we want... */ int main(void) { return (thiswillneverbedefinedIhope()); } #else + #include #include int main(int ac, char *av[]) { return (getmode(setmode(av[0]), (mode_t)ac)); }