diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/ChangeLog | 5 | ||||
-rw-r--r-- | support/Makefile.am | 2 | ||||
-rw-r--r-- | support/gnomesupport-fake.h | 3 |
3 files changed, 10 insertions, 0 deletions
diff --git a/support/ChangeLog b/support/ChangeLog index 8050f4b..b53730c 100644 --- a/support/ChangeLog +++ b/support/ChangeLog @@ -1,5 +1,10 @@ 1998-08-18 Martin Baulig <martin@home-of-linux.org> + * Makefile.am: Added explicit dependency `error.c: gnomesupport.h'. + + * gnomesupport-fake.h: Include `sys/types.h' to get `size_t' under + FreeBSD. + * gnomesupport-fake.h: Include `gnomesupport.h' only if we really `NEED_GNOMESUPPORT_H'. diff --git a/support/Makefile.am b/support/Makefile.am index d12dd44..6e0ae3a 100644 --- a/support/Makefile.am +++ b/support/Makefile.am @@ -24,6 +24,8 @@ libgnomesupport_la_LDFLAGS = -version-info 0:0:0 BUILT_SOURCES = gnomesupport.h +error.c: gnomesupport.h + gnomesupport.h: gnomesupport.awk $(top_builddir)/config.h $(AWK) -f $(srcdir)/gnomesupport.awk < $(top_builddir)/config.h > gsh-t mv gsh-t gnomesupport.h diff --git a/support/gnomesupport-fake.h b/support/gnomesupport-fake.h index 84db4ef..9b9eae1 100644 --- a/support/gnomesupport-fake.h +++ b/support/gnomesupport-fake.h @@ -5,6 +5,9 @@ # include <config.h> #endif +/* This is required to get `size_t' on some systems. */ +#include <sys/types.h> + #ifdef NEED_GNOMESUPPORT_H #include <gnomesupport.h> #endif |