]> git.videolan.org Git - x264.git/commitdiff
Fix stat with large file support
authorSteven Walters <kemuri9@gmail.com>
Fri, 29 Jan 2010 01:26:40 +0000 (17:26 -0800)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Sat, 30 Jan 2010 12:31:51 +0000 (04:31 -0800)
common/common.h
common/osdep.h

index ca1533048aab8299063eeb8c55a563c46fdfb189..455bc61fc5c01f51a3c7693cc450ba322a301ef7 100644 (file)
@@ -70,7 +70,6 @@ do {\
 /****************************************************************************
  * Includes
  ****************************************************************************/
-#include <sys/stat.h>
 #include "osdep.h"
 #include <stdarg.h>
 #include <stddef.h>
index 998880398d8d960fdae14cd3825167d2dd09f71d..3d120720bc2e8fe0d5b636fce2d74b9b16ed0f4d 100644 (file)
@@ -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>