diff --git a/gcc/fixinc/Makefile.in b/gcc/fixinc/Makefile.in index 8976c783e72..9182337c76a 100644 --- a/gcc/fixinc/Makefile.in +++ b/gcc/fixinc/Makefile.in @@ -82,7 +82,7 @@ fixincl: $(OBJ) gnu-regex.o: gnu-regex.c -$(CC) $(CFLAGS) $(FIXINC_DEFS) $(INCLUDES) -DREGEX_MALLOC \ - -DSTDC_HEADERS=1 -c $(srcdir)/gnu-regex.c + -c $(srcdir)/gnu-regex.c fixincl.o : fixincl.x fixincl.c server.o : server.c server.h diff --git a/gcc/system.h b/gcc/system.h index 3ec73a6cab1..22b48ab723c 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -249,6 +249,9 @@ extern int errno; #ifndef WEXITSTATUS #define WEXITSTATUS(S) (((S) & 0xff00) >> 8) #endif +#ifndef WSTOPSIG +#define WSTOPSIG WEXITSTATUS +#endif