summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-10-14 12:46:05 +0000
committerbapt <bapt@FreeBSD.org>2015-10-14 12:46:05 +0000
commitcd8d4b22070ebf0c710f95f6ebed81e36b07bc6b (patch)
tree6c87c55f5a53ac0aa899b89e4b495d57ac420f7f
parenta789a81ff149b8dc81c30d719860c2b6bd4a52f4 (diff)
downloadFreeBSD-src-cd8d4b22070ebf0c710f95f6ebed81e36b07bc6b.zip
FreeBSD-src-cd8d4b22070ebf0c710f95f6ebed81e36b07bc6b.tar.gz
Include sys/*.h earlier
Reported by: kib
-rw-r--r--lib/libc/locale/collate.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/locale/collate.c b/lib/libc/locale/collate.c
index 0f0f92b..90bca30 100644
--- a/lib/libc/locale/collate.c
+++ b/lib/libc/locale/collate.c
@@ -38,6 +38,11 @@
__FBSDID("$FreeBSD$");
#include "namespace.h"
+
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <sys/mman.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -45,9 +50,6 @@ __FBSDID("$FreeBSD$");
#include <errno.h>
#include <unistd.h>
#include <fcntl.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/mman.h>
#include "un-namespace.h"
#include "collate.h"
OpenPOWER on IntegriCloud