# HG changeset patch # User John W. Eaton # Date 1218137509 14400 # Node ID 9708674ab85d981bc42290d4ca6abaf7e95d4fc5 # Parent 85184151822e2d6955e8c82fbb7c8f68077de617 don't include config.h in other header files diff --git a/liboctave/ChangeLog b/liboctave/ChangeLog --- a/liboctave/ChangeLog +++ b/liboctave/ChangeLog @@ -1,5 +1,7 @@ 2008-08-07 John W. Eaton + * sprse-base-chol.h, oct-sparse.h: Don't include config.h. + * cmd-edit.cc, file-ops.h, kpse.cc, oct-env.cc, pathsearch.cc: Replace all uses of NPOS with std::string::npos. diff --git a/liboctave/oct-sparse.h b/liboctave/oct-sparse.h --- a/liboctave/oct-sparse.h +++ b/liboctave/oct-sparse.h @@ -23,10 +23,6 @@ #if !defined (oct_sparse_h) #define oct_sparse_h 1 -#ifdef HAVE_CONFIG_H -#include -#endif - #if defined (HAVE_SUITESPARSE_AMD_H) #include #elif defined (HAVE_UFSPARSE_AMD_H) diff --git a/liboctave/sparse-base-chol.h b/liboctave/sparse-base-chol.h --- a/liboctave/sparse-base-chol.h +++ b/liboctave/sparse-base-chol.h @@ -24,10 +24,6 @@ #if !defined (octave_sparse_base_chol_h) #define octave_sparse_base_chol_h 1 -#ifdef HAVE_CONFIG_H -#include -#endif - #include "oct-sparse.h" #include "dColVector.h" diff --git a/src/ChangeLog b/src/ChangeLog --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2008-08-07 John W. Eaton + * src/glrender.h, src/zfstream.h: Don't include config.h. + * oct-errno.h: Include . * Cell.cc, DLD-FUNCTIONS/regexp.cc, DLD-FUNCTIONS/dlmread.cc, diff --git a/src/gl-render.h b/src/gl-render.h --- a/src/gl-render.h +++ b/src/gl-render.h @@ -23,8 +23,6 @@ #if !defined (gl_render_h) #define gl_render_h 1 -#include "config.h" - #ifdef HAVE_WINDOWS_H #include #endif diff --git a/src/zfstream.h b/src/zfstream.h --- a/src/zfstream.h +++ b/src/zfstream.h @@ -33,10 +33,6 @@ #ifndef ZFSTREAM_H #define ZFSTREAM_H -#ifdef HAVE_CONFIG_H -#include -#endif - #ifdef HAVE_ZLIB #include // not iostream, since we don't need cin/cout