# HG changeset patch # User Thomas Treichl # Date 1262016680 21600 # Node ID 1e306aa51d6c386a59d2501c2aa54f64ea690ea5 # Parent 62eb444704bafee83c5446653dc584fbc4286df1 Include config.h before another header file. diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-12-28 Thomas Treichl + + * DLD-FUNCTIONS/md5sum.cc, DLD-FUNCTIONS/lookup.cc: Include + config.h before another header file. + 2009-12-27 John W. Eaton * Makefile.am (xgl2ps.c): New file. diff --git a/src/DLD-FUNCTIONS/lookup.cc b/src/DLD-FUNCTIONS/lookup.cc --- a/src/DLD-FUNCTIONS/lookup.cc +++ b/src/DLD-FUNCTIONS/lookup.cc @@ -22,14 +22,14 @@ // Author: Jaroslav Hajek +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include #include -#ifdef HAVE_CONFIG_H -#include -#endif - #include "dNDArray.h" #include "CNDArray.h" diff --git a/src/DLD-FUNCTIONS/md5sum.cc b/src/DLD-FUNCTIONS/md5sum.cc --- a/src/DLD-FUNCTIONS/md5sum.cc +++ b/src/DLD-FUNCTIONS/md5sum.cc @@ -21,13 +21,13 @@ */ +#ifdef HAVE_CONFIG_H +#include +#endif + #include #include -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "defun-dld.h" #include "file-stat.h" #include "file-ops.h"