From: Michael Meissner Date: Tue, 11 Feb 1997 18:56:35 +0000 (+0000) Subject: Fix warnings when compiling callback.c X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9114af581291362a099dacdad35499bbe0aa400;p=binutils-gdb.git Fix warnings when compiling callback.c --- diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 075ff3c732f..83c76ccce12 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,8 @@ +Tue Feb 11 13:49:10 1997 Michael Meissner + + * Makefile.in (callback.o): Define HAVE_CONFIG_H, so callback.c + includes our config.h. + Tue Feb 4 13:42:59 1997 Doug Evans * configure.in: Fix typo in test for callback.c. diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 365164e27ce..46644b284fe 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -403,8 +403,8 @@ targ-map.c: Makefile gentmap $(srcdir)/../../move-if-change ./gentmap -c > tmp-map.c $(srcdir)/../../move-if-change tmp-map.c targ-map.c -callback.o: ../common/callback.c targ-vals.h - $(CC) -c $(STD_CFLAGS) $< +callback.o: ../common/callback.c targ-vals.h config.h + $(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $< targ-map.o: targ-map.c targ-vals.h