[libbluray-devel] commit: Reordered headers so that system headers are first. (hpi1 )

git at videolan.org git at videolan.org
Mon Aug 23 23:52:36 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Aug 24 00:51:42 2010 +0300| [afe357a822e212f31d1522ee3275d9d0b365efbe] | committer: hpi1 

Reordered headers so that system headers are first.
Fixes building under mingw.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=afe357a822e212f31d1522ee3275d9d0b365efbe
---

 src/examples/clpi_dump.c |    6 ++++--
 src/examples/mpls_dump.c |   12 +++++++-----
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/src/examples/clpi_dump.c b/src/examples/clpi_dump.c
index 68994e2..95f0216 100644
--- a/src/examples/clpi_dump.c
+++ b/src/examples/clpi_dump.c
@@ -18,13 +18,15 @@
  */
 
 #include "config.h"
-#include "libbluray/bdnav/clpi_parse.h"
-#include "util.h"
 
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
 
+#include "libbluray/bdnav/clpi_parse.h"
+
+#include "util.h"
+
 static int verbose;
 
 typedef struct {
diff --git a/src/examples/mpls_dump.c b/src/examples/mpls_dump.c
index 4ee27d9..95ee591 100644
--- a/src/examples/mpls_dump.c
+++ b/src/examples/mpls_dump.c
@@ -17,11 +17,6 @@
  * <http://www.gnu.org/licenses/>.
  */
 
-#include "util/strutl.h"
-#include "libbluray/bdnav/mpls_parse.h"
-#include "libbluray/bdnav/navigation.h"
-#include "util.h"
-
 #include <sys/stat.h>
 #include <dirent.h>
 #include <stdio.h>
@@ -30,6 +25,13 @@
 #include <string.h>
 #include <libgen.h>
 
+#include "util/strutl.h"
+
+#include "libbluray/bdnav/mpls_parse.h"
+#include "libbluray/bdnav/navigation.h"
+
+#include "util.h"
+
 static int verbose;
 
 typedef struct {



More information about the libbluray-devel mailing list