[x264-devel] commit: Fix stat with large file support (Steven Walters )

git version control git at videolan.org
Sat Jan 30 13:58:01 CET 2010


x264 | branch: master | Steven Walters <kemuri9 at gmail.com> | Thu Jan 28 17:26:40 2010 -0800| [3838c301e1ee1718e6f1e037d21bb21525b3eab6] | committer: Jason Garrett-Glaser 

Fix stat with large file support

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=3838c301e1ee1718e6f1e037d21bb21525b3eab6
---

 common/common.h |    1 -
 common/osdep.h  |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/common.h b/common/common.h
index ca15330..455bc61 100644
--- a/common/common.h
+++ b/common/common.h
@@ -70,7 +70,6 @@ do {\
 /****************************************************************************
  * Includes
  ****************************************************************************/
-#include <sys/stat.h>
 #include "osdep.h"
 #include <stdarg.h>
 #include <stddef.h>
diff --git a/common/osdep.h b/common/osdep.h
index 9988803..3d12072 100644
--- a/common/osdep.h
+++ b/common/osdep.h
@@ -27,6 +27,7 @@
 #define _LARGEFILE_SOURCE 1
 #define _FILE_OFFSET_BITS 64
 #include <stdio.h>
+#include <sys/stat.h>
 
 #ifdef HAVE_STDINT_H
 #include <stdint.h>



More information about the x264-devel mailing list