RT also said what was missing on SunOS 4.1.1 (it also needs -DMKSH_UNEMPLOYED?)
This commit is contained in:
11
sh.h
11
sh.h
@ -160,7 +160,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef EXTERN
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.616 2012/12/17 21:55:06 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.617 2012/12/17 22:14:26 tg Exp $");
|
||||
#endif
|
||||
#define MKSH_VERSION "R41 2012/12/07"
|
||||
|
||||
@ -354,10 +354,19 @@ extern int flock(int, int);
|
||||
extern int getrusage(int, struct rusage *);
|
||||
#endif
|
||||
|
||||
#if !HAVE_MEMMOVE
|
||||
/* we assume either memmove or bcopy exist, at the moment */
|
||||
#define memmove(dst, src, len) bcopy((src), (dst), (len))
|
||||
#endif
|
||||
|
||||
#if !HAVE_REVOKE_DECL
|
||||
extern int revoke(const char *);
|
||||
#endif
|
||||
|
||||
#if !HAVE_STRERROR
|
||||
extern char *strerror(int);
|
||||
#endif
|
||||
|
||||
#if !HAVE_STRLCPY
|
||||
size_t strlcpy(char *, const char *, size_t);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user