Changeset: bcd03dde0ecf for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bcd03dde0ecf Modified Files: gdk/gdk_posix.mx Branch: Mar2011 Log Message:
gdk_posix: include monetdb_config.h in .h file the .h file uses HAVE_XXXX etc. and defines madvise, without monetdb_config.h this leads to error: implicit declaration of function ?madvise? http://monetdb.cwi.nl/testing/projects/monetdb/testweb/logs/39226:d0df802c5132/GNU-Solaris-sparc/make.html#l791 diffs (19 lines): diff --git a/gdk/gdk_posix.mx b/gdk/gdk_posix.mx --- a/gdk/gdk_posix.mx +++ b/gdk/gdk_posix.mx @@ -32,6 +32,7 @@ #ifndef GDK_POSIX_H #define GDK_POSIX_H +#include "monetdb_config.h" #include <sys/types.h> #ifdef HAVE_MALLOC_H @@ -288,7 +289,6 @@ #endif /* GDK_POSIX_H */ @c -#include "monetdb_config.h" #include "gdk.h" #include "mutils.h" #include <stdio.h> _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
