develop
Petr Mrázek 2011-04-10 06:17:55 +02:00
commit 696ca5ccb9
1 changed files with 5 additions and 2 deletions

@ -34,6 +34,11 @@ distribution.
#define _QUOTEME(x) #x
#define QUOT(x) _QUOTEME(x)
#ifdef LINUX_BUILD
#define __USE_FILE_OFFSET64
#define _FILE_OFFSET_BITS 64
#endif
// one file for globals
#include "dfhack/DFGlobal.h"
@ -60,8 +65,6 @@ using namespace std;
#include <sys/types.h>
#include <sys/ptrace.h>
#include <dirent.h>
#define __USE_FILE_OFFSET64
#define _FILE_OFFSET_BITS 64
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>