--- gcc/config/xm-hp320.h 2018/04/24 17:58:30 1.1.1.3 +++ gcc/config/xm-hp320.h 2018/04/24 18:03:53 1.1.1.4 @@ -1,11 +1,13 @@ -/* #define USG */ - +/* USG is needed to prevent trying to use getrusage and getwd. */ +#define USG #include "xm-m68k.h" #define bcopy(a,b,c) memcpy (b,a,c) #define bzero(a,b) memset (a,0,b) #define bcmp(a,b,c) memcmp (a,b,c) +#define rindex strrchr +#define index strchr /* If compiling with HPUX compiler, we are probably using alloca.c, so help it work right. */