Mercurial > hg > octave-max
changeset 10039:1e306aa51d6c
Include config.h before another header file.
author | Thomas Treichl |
---|---|
date | Mon, 28 Dec 2009 10:11:20 -0600 |
parents | 62eb444704ba |
children | f322d72d482c |
files | src/ChangeLog src/DLD-FUNCTIONS/lookup.cc src/DLD-FUNCTIONS/md5sum.cc |
diffstat | 3 files changed, 13 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2009-12-28 Thomas Treichl <Thomas.Treichl@gmx.net> + + * DLD-FUNCTIONS/md5sum.cc, DLD-FUNCTIONS/lookup.cc: Include + config.h before another header file. + 2009-12-27 John W. Eaton <jwe@octave.org> * Makefile.am (xgl2ps.c): New file.
--- a/src/DLD-FUNCTIONS/lookup.cc +++ b/src/DLD-FUNCTIONS/lookup.cc @@ -22,14 +22,14 @@ // Author: Jaroslav Hajek <highegg@gmail.com> +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <cctype> #include <functional> #include <algorithm> -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif - #include "dNDArray.h" #include "CNDArray.h"
--- a/src/DLD-FUNCTIONS/md5sum.cc +++ b/src/DLD-FUNCTIONS/md5sum.cc @@ -21,13 +21,13 @@ */ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <string> #include <vector> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "defun-dld.h" #include "file-stat.h" #include "file-ops.h"