Fix for build error with previous commit, seems the order of #includes matters here.

This commit is contained in:
Brecht Van Lommel 2013-03-13 17:30:31 +00:00
parent 5162a155af
commit 385650974a
3 changed files with 9 additions and 8 deletions

@ -38,9 +38,14 @@
#include <stdio.h>
#include <ctype.h>
#ifdef WIN32
#include "BLI_winstuff.h"
#endif
#include "MEM_guardedalloc.h"
#include "MEM_sys_types.h"
#include "BLI_utildefines.h"
#include "BLI_fileops.h"
#include "AVI_avi.h"

@ -33,14 +33,6 @@
#ifndef __BLI_FILEOPS_H__
#define __BLI_FILEOPS_H__
/* for 64 bit fseek, ftell, .. */
#ifdef WIN32
#include "BLI_winstuff.h"
#endif
/* for bool */
#include "BLI_utildefines.h"
#include <stdio.h>
#include <sys/stat.h>

@ -34,6 +34,10 @@
#include <stdlib.h>
#include <stdio.h>
#ifdef WIN32
#include "BLI_winstuff.h"
#endif
#include "MEM_guardedalloc.h"
#include "BLI_math.h"