+2008-10-26 Bruno Haible <bruno@clisp.org>
+
+ Fix a clash between the type DATADIR on Windows and the macro DATADIR.
+ * modules/configmake (Include): Add a note that the include must come
+ after all system headers.
+ * lib/javaversion.c: Include configmake.h after all other includes.
+ Reported by Simon Josefsson.
+
2008-10-26 Bruno Haible <bruno@clisp.org>
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Set default of
# define relocate(pathname) (pathname)
#endif
-/* Get PKGDATADIR. */
-#include "configmake.h"
-
#include "javaexec.h"
#include "pipe.h"
#include "wait-process.h"
#define _(str) gettext (str)
+/* Get PKGDATADIR. */
+#include "configmake.h"
+
struct locals
{