]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (test_mkfds) include locale headers first to define _GNU_SOURCE
authorMasatake YAMATO <yamato@redhat.com>
Fri, 28 Jul 2023 17:31:52 +0000 (02:31 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Mon, 11 Sep 2023 11:09:10 +0000 (20:09 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
tests/helpers/test_mkfds.c

index ccb2a0158aafae500f16badafa0bf18008e4256f..759b254fff7e7c2c15384c4554728fc895804cbd 100644 (file)
@@ -17,6 +17,9 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
+#include "c.h"
+#include "xalloc.h"
+
 #include <arpa/inet.h>
 #include <ctype.h>
 #include <dirent.h>
@@ -59,9 +62,6 @@
 #include <time.h>
 #include <unistd.h>
 
-#include "c.h"
-#include "xalloc.h"
-
 #define EXIT_ENOSYS 17
 #define EXIT_EPERM  18
 #define EXIT_ENOPROTOOPT 19