--- gcc/config/xm-hp320.h 2018/04/24 17:53:46 1.1.1.2 +++ gcc/config/xm-hp320.h 2018/04/24 18:03:53 1.1.1.4 @@ -1,3 +1,4 @@ +/* USG is needed to prevent trying to use getrusage and getwd. */ #define USG #include "xm-m68k.h" @@ -5,6 +6,8 @@ #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. */