summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Colomar <alx.manpages@gmail.com>2022-09-13 15:20:12 +0200
committerAlex Colomar <alx.manpages@gmail.com>2022-09-13 16:47:19 +0200
commit4d9ecbbc827d8c3aa2b3b447a3bbb3f3c65ae4f9 (patch)
tree400a602a0e95977cf9710ea9b1ea3a6cbd713d34
parent6251948690a7821f21320fe57934c5cbea2b9ef3 (diff)
getdents.2: EXAMPLES: Sort includes
Reported-by: clang-tidy(1) Signed-off-by: Alex Colomar <alx.manpages@gmail.com>
-rw-r--r--man2/getdents.22
1 files changed, 1 insertions, 1 deletions
diff --git a/man2/getdents.2 b/man2/getdents.2
index f66238eb8..47309b213 100644
--- a/man2/getdents.2
+++ b/man2/getdents.2
@@ -251,8 +251,8 @@ inode# file type d_reclen d_off d_name
.\" SRC BEGIN (getdents.c)
.EX
#define _GNU_SOURCE
-#include <err.h>
#include <dirent.h> /* Defines DT_* constants */
+#include <err.h>
#include <fcntl.h>
#include <stdint.h>
#include <stdio.h>