[libbluray-devel] commit: util.h must come after any system header files (john )

git at videolan.org git at videolan.org
Sat Sep 11 02:07:33 CEST 2010


libbluray | branch: master | john <john at anonymous.org> | Fri Sep 10 16:55:02 2010 -0700| [0480a10271e68b7e4de90acb08628228048cb0ab] | committer: john 

util.h must come after any system header files

especially after stdio.h as it redfines off_t which
isn't defined until then.

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

 src/examples/util.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/examples/util.c b/src/examples/util.c
index 1c84016..8b9558c 100644
--- a/src/examples/util.c
+++ b/src/examples/util.c
@@ -17,11 +17,11 @@
  * <http://www.gnu.org/licenses/>.
  */
 
-#include "util.h"
-
 #include <stdio.h>
 #include <stdarg.h>
 
+#include "util.h"
+
 void
 hex_dump(uint8_t *buf, int count)
 {



More information about the libbluray-devel mailing list