From c5340f10630533d01c9703c8f19b4799700d3a52 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Wed, 19 Apr 2023 04:24:18 +0200 Subject: Reorder system.hh includes --- src/system.hh.in | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) (limited to 'src') diff --git a/src/system.hh.in b/src/system.hh.in index b3fc028f..95dedbc2 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -68,6 +68,8 @@ /* System includes */ /*------------------------------------------------------------------------*/ +#include "utf8.h" + #include #include #include @@ -95,12 +97,14 @@ #include #include #include +#include /* needed for gcc 4.9 */ #if defined(_WIN32) || defined(__CYGWIN__) #include #else #include #endif + #if HAVE_GETPWUID || HAVE_GETPWNAM #include #endif @@ -114,10 +118,16 @@ #include #endif -#include /* needed for gcc 4.9 */ +#if HAVE_GETTEXT +#include +#define _(str) gettext(str) +#else +#define _(str) str +#endif +#define _f(str) boost::format(_(str)) + #include #include -#include "utf8.h" #include #include @@ -180,25 +190,12 @@ #include #include -#if HAVE_GETTEXT -#include -#define _(str) gettext(str) -#else -#define _(str) str -#endif -#define _f(str) boost::format(_(str)) - #include #if HAVE_BOOST_PYTHON - #include - #include - #include #include - #include - #endif // HAVE_BOOST_PYTHON -- cgit v1.2.3