summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1998-08-18 11:47:13 +0000
committerMartin Baulig <martin@src.gnome.org>1998-08-18 11:47:13 +0000
commit3121ab3006ad3147a2b31d7e2eddec40b4eb8d77 (patch)
tree31daa172d514a48a7d539bae108de215ca77692d
parent9b148f39263ff982a2d350ba35422c6b86f59d68 (diff)
downloadgnome-common-3121ab3006ad3147a2b31d7e2eddec40b4eb8d77.tar.gz
Added explicit dependency `error.c: gnomesupport.h'.
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. svn path=/trunk/; revision=335
-rw-r--r--support/ChangeLog5
-rw-r--r--support/Makefile.am2
-rw-r--r--support/gnomesupport-fake.h3
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