From: michaelb Date: Mon, 9 Apr 2012 07:44:35 +0000 (+0200) Subject: fix invalid use of headers X-Git-Tag: xonotic-v0.7.0~16^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1f0271a98874f2a2bae502aba1dc16782e8073f6;p=xonotic%2Fnetradiant.git fix invalid use of headers --- diff --git a/contrib/bobtoolz/lists.cpp b/contrib/bobtoolz/lists.cpp index 9b657c31..81079839 100644 --- a/contrib/bobtoolz/lists.cpp +++ b/contrib/bobtoolz/lists.cpp @@ -23,7 +23,7 @@ #pragma warning(disable : 4786) #endif -#include +#include #include "misc.h" diff --git a/libs/convert.h b/libs/convert.h index b6fe93cc..a734e6fe 100644 --- a/libs/convert.h +++ b/libs/convert.h @@ -27,8 +27,7 @@ #include "debugging/debugging.h" #include -#include -#include +#include #include "character.h" diff --git a/libs/gtkutil/cursor.h b/libs/gtkutil/cursor.h index e1584fd0..b3cfe080 100644 --- a/libs/gtkutil/cursor.h +++ b/libs/gtkutil/cursor.h @@ -22,7 +22,7 @@ #if !defined( INCLUDED_GTKUTIL_CURSOR_H ) #define INCLUDED_GTKUTIL_CURSOR_H -#include +#include #include #include #include diff --git a/libs/gtkutil/idledraw.h b/libs/gtkutil/idledraw.h index e74edd8c..6267951d 100644 --- a/libs/gtkutil/idledraw.h +++ b/libs/gtkutil/idledraw.h @@ -22,7 +22,7 @@ #if !defined( INCLUDED_GTKUTIL_IDLEDRAW_H ) #define INCLUDED_GTKUTIL_IDLEDRAW_H -#include +#include #include "generic/callback.h" diff --git a/libs/os/dir.h b/libs/os/dir.h index 3047a028..b1992848 100644 --- a/libs/os/dir.h +++ b/libs/os/dir.h @@ -25,7 +25,7 @@ /// \file /// \brief OS directory-listing object. -#include +#include typedef GDir Directory; diff --git a/plugins/shaders/shaders.cpp b/plugins/shaders/shaders.cpp index 37b9ebe9..54df7abc 100644 --- a/plugins/shaders/shaders.cpp +++ b/plugins/shaders/shaders.cpp @@ -48,7 +48,7 @@ #include "qerplugin.h" #include "irender.h" -#include +#include #include "debugging/debugging.h" #include "string/pooledstring.h" diff --git a/plugins/vfspk3/vfs.cpp b/plugins/vfspk3/vfs.cpp index 50bd1e4e..893f002b 100644 --- a/plugins/vfspk3/vfs.cpp +++ b/plugins/vfspk3/vfs.cpp @@ -45,9 +45,7 @@ #include #include -#include -#include -#include +#include #include "qerplugin.h" #include "idatastream.h" diff --git a/radiant/feedback.h b/radiant/feedback.h index 94e2c7e8..04e98bb2 100644 --- a/radiant/feedback.h +++ b/radiant/feedback.h @@ -30,7 +30,7 @@ #include "math/vector.h" #include "stream/stringstream.h" -#include +#include #include "xmlstuff.h" #include "dialog.h" #include "xywindow.h" diff --git a/radiant/patch.cpp b/radiant/patch.cpp index 1270a9e0..b31def46 100644 --- a/radiant/patch.cpp +++ b/radiant/patch.cpp @@ -21,7 +21,7 @@ #include "patch.h" -#include +#include #include "preferences.h" #include "brush_primit.h" #include "signal/signal.h" diff --git a/radiant/watchbsp.cpp b/radiant/watchbsp.cpp index c21c7ad7..f3d1ae6f 100644 --- a/radiant/watchbsp.cpp +++ b/radiant/watchbsp.cpp @@ -76,8 +76,7 @@ void message_print( message_info_t* self, const char* characters, std::size_t le } -#include -#include +#include #include "xmlstuff.h" class CWatchBSP diff --git a/tools/quake3/common/inout.c b/tools/quake3/common/inout.c index 2c1758a7..14e9eaaf 100644 --- a/tools/quake3/common/inout.c +++ b/tools/quake3/common/inout.c @@ -44,8 +44,6 @@ // utf8 conversion #include -#include -#include #ifdef WIN32 HWND hwndOut = NULL;