149d3bc91SRichard Lowe /*
249d3bc91SRichard Lowe 
307dc1947SRichard Lowe   Copyright (C) 2000, 2002, 2004 Silicon Graphics, Inc.  All Rights Reserved.
407dc1947SRichard Lowe   Portions Copyright 2008-2010 David Anderson. All rights reserved.
549d3bc91SRichard Lowe 
649d3bc91SRichard Lowe   This program is free software; you can redistribute it and/or modify it
7*4d9fdb46SRobert Mustacchi   under the terms of version 2.1 of the GNU Lesser General Public License
849d3bc91SRichard Lowe   as published by the Free Software Foundation.
949d3bc91SRichard Lowe 
1049d3bc91SRichard Lowe   This program is distributed in the hope that it would be useful, but
1149d3bc91SRichard Lowe   WITHOUT ANY WARRANTY; without even the implied warranty of
12*4d9fdb46SRobert Mustacchi   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1349d3bc91SRichard Lowe 
1449d3bc91SRichard Lowe   Further, this software is distributed without any warranty that it is
15*4d9fdb46SRobert Mustacchi   free of the rightful claim of any third person regarding infringement
16*4d9fdb46SRobert Mustacchi   or the like.  Any license provided herein, whether implied or
1749d3bc91SRichard Lowe   otherwise, applies only to this software file.  Patent licenses, if
18*4d9fdb46SRobert Mustacchi   any, provided herein do not apply to combinations of this program with
19*4d9fdb46SRobert Mustacchi   other software, or any other product whatsoever.
2049d3bc91SRichard Lowe 
2107dc1947SRichard Lowe   You should have received a copy of the GNU Lesser General Public
2207dc1947SRichard Lowe   License along with this program; if not, write the Free Software
2307dc1947SRichard Lowe   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston MA 02110-1301,
2449d3bc91SRichard Lowe   USA.
2549d3bc91SRichard Lowe 
2649d3bc91SRichard Lowe */
2749d3bc91SRichard Lowe 
2849d3bc91SRichard Lowe 
2949d3bc91SRichard Lowe 
3049d3bc91SRichard Lowe #ifndef DWARF_INCL_H
3149d3bc91SRichard Lowe #define DWARF_INCL_H
3207dc1947SRichard Lowe #if (!defined(HAVE_RAW_LIBELF_OK) && defined(HAVE_LIBELF_OFF64_OK) )
3307dc1947SRichard Lowe /* At a certain point libelf.h requires _GNU_SOURCE.
34*4d9fdb46SRobert Mustacchi    here we assume the criteria in configure determined that
3507dc1947SRichard Lowe    usefully.
3607dc1947SRichard Lowe */
3707dc1947SRichard Lowe #define _GNU_SOURCE 1
3807dc1947SRichard Lowe #endif
3907dc1947SRichard Lowe 
40*4d9fdb46SRobert Mustacchi /* Windows specific header files */
41*4d9fdb46SRobert Mustacchi #if defined(_WIN32) && defined(HAVE_STDAFX_H)
42*4d9fdb46SRobert Mustacchi #include "stdafx.h"
43*4d9fdb46SRobert Mustacchi #endif /* HAVE_STDAFX_H */
4449d3bc91SRichard Lowe 
4549d3bc91SRichard Lowe #include "libdwarfdefs.h"
46*4d9fdb46SRobert Mustacchi #include <string.h>  /* strcpy() strlen() */
47*4d9fdb46SRobert Mustacchi #include <stddef.h>
48*4d9fdb46SRobert Mustacchi #include "dwarf.h"
49*4d9fdb46SRobert Mustacchi #include "libdwarf.h"
5049d3bc91SRichard Lowe #include "dwarf_base_types.h"
5149d3bc91SRichard Lowe #include "dwarf_opaque.h"
5249d3bc91SRichard Lowe #endif /* DWARF_INCL_H */
53