--- gcc/config/m68k/x-hp320g 2018/04/24 18:10:24 1.1.1.1 +++ gcc/config/m68k/x-hp320g 2018/04/24 18:27:55 1.1.1.2 @@ -12,3 +12,6 @@ X_CFLAGS= -I../hp-include # Version 5 of HPUX had a compiler bug that made it crash with -g. # You must set CFLAGS to empty on version 5. + +# So putenv and other functions get seen by fixproto. +FIXPROTO_DEFINES = -D_HPUX_SOURCE