You have this ↓ guy a lot to thank for.

00:45 -!- variable [root@freebsd/developer/variable] has joined #!/bin/mksh

• +b *!*root@*, +b $a:root, +b $r:root on one more channel
• certain checks to prevent:
00:47 < variable> wjcw: sh.h:308: error: conflicting types for 'getrusage'
01:19 < variable> oh
01:19 < variable> I needed to run Build.sh
This commit is contained in:
tg
2012-03-27 21:23:52 +00:00
parent a901abc470
commit e3b9f14d88
3 changed files with 12 additions and 4 deletions

7
sh.h
View File

@@ -152,7 +152,7 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.529 2012/03/26 21:10:44 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.530 2012/03/27 21:23:52 tg Exp $");
#endif
#define MKSH_VERSION "R40 2012/03/26"
@@ -429,6 +429,11 @@ char *ucstrstr(char *, const char *);
#define mkssert(e) ((void)0)
#endif
#if !defined(MKSH_BUILDMAKEFILE4BSD) && !defined(MKSH_BUILDSH)
I'm sorry, Dave. I'm afraid I can't do that.
#error Must run Build.sh to compile this.
#endif
/* use this ipv strchr(s, 0) but no side effects in s! */
#define strnul(s) ((s) + strlen(s))