From: Masatake YAMATO Date: Fri, 28 Jul 2023 17:31:52 +0000 (+0900) Subject: tests: (test_mkfds) include locale headers first to define _GNU_SOURCE X-Git-Tag: v2.40-rc1~244^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be428dcab78dbceea402c50dc652fdd076ce7963;p=thirdparty%2Futil-linux.git tests: (test_mkfds) include locale headers first to define _GNU_SOURCE Signed-off-by: Masatake YAMATO --- diff --git a/tests/helpers/test_mkfds.c b/tests/helpers/test_mkfds.c index ccb2a0158a..759b254fff 100644 --- a/tests/helpers/test_mkfds.c +++ b/tests/helpers/test_mkfds.c @@ -17,6 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include "c.h" +#include "xalloc.h" + #include #include #include @@ -59,9 +62,6 @@ #include #include -#include "c.h" -#include "xalloc.h" - #define EXIT_ENOSYS 17 #define EXIT_EPERM 18 #define EXIT_ENOPROTOOPT 19