svn commit: r289314 - projects/collation/lib/libc/locale

Baptiste Daroussin bapt at FreeBSD.org
Wed Oct 14 12:46:07 UTC 2015


Author: bapt
Date: Wed Oct 14 12:46:05 2015
New Revision: 289314
URL: https://svnweb.freebsd.org/changeset/base/289314

Log:
  Include sys/*.h earlier
  
  Reported by:	kib

Modified:
  projects/collation/lib/libc/locale/collate.c

Modified: projects/collation/lib/libc/locale/collate.c
==============================================================================
--- projects/collation/lib/libc/locale/collate.c	Wed Oct 14 11:52:58 2015	(r289313)
+++ projects/collation/lib/libc/locale/collate.c	Wed Oct 14 12:46:05 2015	(r289314)
@@ -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"


More information about the svn-src-projects mailing list