dbghelp: Fix a Solaris compilation error.

This commit is contained in:
Jeremy White 2006-06-19 22:38:20 +02:00 committed by Alexandre Julliard
parent 3484fa7616
commit 466d3fe8e5
1 changed files with 7 additions and 4 deletions

View File

@ -22,6 +22,13 @@
#include "config.h"
#include "wine/port.h"
#if defined(__svr4__) || defined(__sun)
#define __ELF__
/* large files are not supported by libelf */
#undef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 32
#endif
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
@ -41,10 +48,6 @@
#include "dbghelp_private.h"
#if defined(__svr4__) || defined(__sun)
#define __ELF__
#endif
#ifdef HAVE_ELF_H
# include <elf.h>
#endif