Mercurial > octave
diff libgui/src/m-editor/file-editor-tab.h @ 21692:de138ebaa7a9
avoid including config.h multiple times
* file-editor-tab.h: Don't include config.h.
* GLCanvas.cc: Don't include config.h twice.
* ToolBarButton.cc: Don't include config.h.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 13 May 2016 14:22:56 -0400 |
parents | 683a1beee538 |
children | b3ced5e3cebb |
line wrap: on
line diff
--- a/libgui/src/m-editor/file-editor-tab.h Fri May 13 09:36:14 2016 -0400 +++ b/libgui/src/m-editor/file-editor-tab.h Fri May 13 14:22:56 2016 -0400 @@ -33,13 +33,6 @@ #include <QLabel> #include <QComboBox> -// FIXME: We should not be including config.h in header files. -// Only needed for octave_value_list type. -#ifdef HAVE_CONFIG_H -# include "config.h" -# include "ovl.h" -#endif - #include "find-dialog.h" #include "octave-qscintilla.h" #include "builtin-defun-decls.h" @@ -48,6 +41,8 @@ typedefed elsewhere. Could use common location. */ +class octave_value_list; + class file_editor; class file_editor_tab : public QWidget