Compilation fix for autotools.

The compilation fails when DEBUG_WINDOW_LAYOUT_GRAPHS hasn't been defined.
CMake and scons didn't have the problem.
This commit is contained in:
Mark de Wever 2008-11-24 16:58:14 +00:00
parent 8e4a6ad6c8
commit 3a2cf1778b
2 changed files with 6 additions and 0 deletions

View file

@ -12,6 +12,8 @@
see the copying file for more details.
*/
#ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
#include "gui/widgets/debug.hpp"
#include "foreach.hpp"
@ -494,4 +496,5 @@ std::string tdebug_layout_graph::get_type(const twidget* widget) const
}
} // namespace gui2
#endif

View file

@ -12,6 +12,8 @@
see the copying file for more details.
*/
#ifdef DEBUG_WINDOW_LAYOUT_GRAPHS
#ifndef GUI_WIDGETS_DEBUG_HPP_INCLUDED
#define GUI_WIDGETS_DEBUG_HPP_INCLUDED
@ -175,4 +177,5 @@ private:
} // namespace gui2
#endif
#endif