From db9c1e96a12bfbb171dfe85d5312ac311f62d876 Mon Sep 17 00:00:00 2001 From: Alexander Tsoy Date: Fri, 7 Jun 2019 19:19:28 +0300 Subject: [PATCH] fix the order of header includes config.h should be included before stdinc.h, otherwise large file support is not enabled. Downstream bug: https://bugs.gentoo.org/687548 --- cli/main.c | 2 +- libpkgconf/client.c | 2 +- libpkgconf/parser.c | 2 +- libpkgconf/path.c | 2 +- libpkgconf/personality.c | 2 +- libpkgconf/pkg.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cli/main.c b/cli/main.c index a5cccf0..0242b59 100644 --- a/cli/main.c +++ b/cli/main.c @@ -14,9 +14,9 @@ * from the use of this software. */ +#include "libpkgconf/config.h" #include #include -#include "libpkgconf/config.h" #include "getopt_long.h" #ifndef PKGCONF_LITE #include "renderer-msvc.h" diff --git a/libpkgconf/client.c b/libpkgconf/client.c index dd63e72..5cf60c9 100644 --- a/libpkgconf/client.c +++ b/libpkgconf/client.c @@ -13,9 +13,9 @@ * from the use of this software. */ +#include #include #include -#include /* * !doc diff --git a/libpkgconf/parser.c b/libpkgconf/parser.c index 704c4de..17aa697 100644 --- a/libpkgconf/parser.c +++ b/libpkgconf/parser.c @@ -13,8 +13,8 @@ * from the use of this software. */ -#include #include +#include #include /* diff --git a/libpkgconf/path.c b/libpkgconf/path.c index 6b92458..bfb3a2c 100644 --- a/libpkgconf/path.c +++ b/libpkgconf/path.c @@ -13,9 +13,9 @@ * from the use of this software. */ +#include #include #include -#include #if defined(HAVE_CYGWIN_CONV_PATH) && defined(__MSYS__) # include diff --git a/libpkgconf/personality.c b/libpkgconf/personality.c index beb1ef0..bbbbbf9 100644 --- a/libpkgconf/personality.c +++ b/libpkgconf/personality.c @@ -13,9 +13,9 @@ * from the use of this software. */ +#include #include #include -#include #ifdef _WIN32 # define strcasecmp _stricmp diff --git a/libpkgconf/pkg.c b/libpkgconf/pkg.c index b30e5be..c8655c2 100644 --- a/libpkgconf/pkg.c +++ b/libpkgconf/pkg.c @@ -13,8 +13,8 @@ * from the use of this software. */ -#include #include +#include #include /*