From 489777645843c7c88d0a84c8f2c7e1a7bdbcf0a9 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 26 Mar 2009 10:30:04 +0100 Subject: First batch of include cleanup Since the relative includes are getting ugly and somewhat inconvenient, we'll switch to includes relative to the project root. We've done this for a while already with tmwserv. Another rule which we've always had but was never written down, is that each source file first includes its own header. This is common practice and ensures each header compiles without needing other stuff to be included first. Somebody using Code::Blocks might want to fix the project file by adding the 'src' directory to the list of include paths. --- src/gui/widgets/layout.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/layout.h') diff --git a/src/gui/widgets/layout.h b/src/gui/widgets/layout.h index 20a4222d..b9359e91 100644 --- a/src/gui/widgets/layout.h +++ b/src/gui/widgets/layout.h @@ -22,10 +22,10 @@ #ifndef WIDGET_LAYOUT_H #define WIDGET_LAYOUT_H -#include - #include +#include + class LayoutCell; /** -- cgit v1.2.3-60-g2f50