From f9114af581291362a099dacdad35499bbe0aa400 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Tue, 11 Feb 1997 18:56:35 +0000 Subject: [PATCH] Fix warnings when compiling callback.c --- sim/ppc/ChangeLog | 5 +++++ sim/ppc/Makefile.in | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 075ff3c732..83c76ccce1 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 365164e27c..46644b284f 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