Commit 75962053 authored by Loren Merritt's avatar Loren Merritt

reorder headers so that largefile support is defined before the first copy of stdio


git-svn-id: svn://svn.videolan.org/x264/trunk@672 df754926-b1dd-0310-bc7b-ec298dee348c
parent 71af2851
......@@ -62,11 +62,11 @@
/****************************************************************************
* Includes
****************************************************************************/
#include "osdep.h"
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "osdep.h"
#include "x264.h"
#include "bs.h"
#include "set.h"
......
......@@ -21,16 +21,16 @@
#ifndef _OSDEP_H
#define _OSDEP_H
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#include <stdio.h>
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#include <inttypes.h>
#endif
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
#include <stdio.h>
#ifdef _MSC_VER
#include <io.h> // _setmode()
#include <fcntl.h> // _O_BINARY
......
......@@ -18,8 +18,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*****************************************************************************/
#include <sys/types.h>
#include "common/common.h"
#include "x264.h"
#include "matroska.h"
......@@ -29,6 +27,8 @@
#include "config.h"
#endif
#include <sys/types.h>
#ifdef AVIS_INPUT
#include <windows.h>
#include <vfw.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment