diff options
author | bapt <bapt@FreeBSD.org> | 2015-10-14 12:46:05 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-10-14 12:46:05 +0000 |
commit | cd8d4b22070ebf0c710f95f6ebed81e36b07bc6b (patch) | |
tree | 6c87c55f5a53ac0aa899b89e4b495d57ac420f7f | |
parent | a789a81ff149b8dc81c30d719860c2b6bd4a52f4 (diff) | |
download | FreeBSD-src-cd8d4b22070ebf0c710f95f6ebed81e36b07bc6b.zip FreeBSD-src-cd8d4b22070ebf0c710f95f6ebed81e36b07bc6b.tar.gz |
Include sys/*.h earlier
Reported by: kib
-rw-r--r-- | lib/libc/locale/collate.c | 8 |
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" |