Linux libc5 has some function protos in weird places
This commit is contained in:
4
Build.sh
4
Build.sh
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.418 2009/08/01 21:52:02 tg Exp $'
|
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.419 2009/08/01 21:58:06 tg Stab $'
|
||||||
#-
|
#-
|
||||||
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009
|
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009
|
||||||
# Thorsten Glaser <tg@mirbsd.org>
|
# Thorsten Glaser <tg@mirbsd.org>
|
||||||
@@ -1154,6 +1154,7 @@ EOF
|
|||||||
|
|
||||||
ac_test mkstemp <<-'EOF'
|
ac_test mkstemp <<-'EOF'
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
int main(void) { char tmpl[] = "X"; return (mkstemp(tmpl)); }
|
int main(void) { char tmpl[] = "X"; return (mkstemp(tmpl)); }
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@@ -1167,6 +1168,7 @@ ac_test realpath <<-'EOF'
|
|||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
#ifndef PATH_MAX
|
#ifndef PATH_MAX
|
||||||
#define PATH_MAX 1024
|
#define PATH_MAX 1024
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user