import less(1)
[unleashed/tickless.git] / usr / src / lib / libdwarf / common / dwarf_incl.h
blobdf2fbf334c03e0b1234f804ea920dd6c4bf5b953
1 /*
3 Copyright (C) 2000, 2002, 2004 Silicon Graphics, Inc. All Rights Reserved.
4 Portions Copyright 2008-2010 David Anderson. All rights reserved.
6 This program is free software; you can redistribute it and/or modify it
7 under the terms of version 2.1 of the GNU Lesser General Public License
8 as published by the Free Software Foundation.
10 This program is distributed in the hope that it would be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14 Further, this software is distributed without any warranty that it is
15 free of the rightful claim of any third person regarding infringement
16 or the like. Any license provided herein, whether implied or
17 otherwise, applies only to this software file. Patent licenses, if
18 any, provided herein do not apply to combinations of this program with
19 other software, or any other product whatsoever.
21 You should have received a copy of the GNU Lesser General Public
22 License along with this program; if not, write the Free Software
23 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston MA 02110-1301,
24 USA.
26 Contact information: Silicon Graphics, Inc., 1500 Crittenden Lane,
27 Mountain View, CA 94043, or:
29 http://www.sgi.com
31 For further information regarding this notice, see:
33 http://oss.sgi.com/projects/GenInfo/NoticeExplan
39 #ifndef DWARF_INCL_H
40 #define DWARF_INCL_H
41 #if (!defined(HAVE_RAW_LIBELF_OK) && defined(HAVE_LIBELF_OFF64_OK) )
42 /* At a certain point libelf.h requires _GNU_SOURCE.
43 here we assume the criteria in configure determine that
44 usefully.
46 #define _GNU_SOURCE 1
47 #endif
50 #include "libdwarfdefs.h"
51 #include <string.h>
53 #ifdef HAVE_ELF_H
54 #include <elf.h>
55 #endif
57 #include <limits.h>
58 #include <dwarf.h>
59 #include <libdwarf.h>
61 #include "dwarf_base_types.h"
62 #include "dwarf_alloc.h"
63 #include "dwarf_opaque.h"
64 #include "dwarf_error.h"
65 #include "dwarf_util.h"
66 #endif /* DWARF_INCL_H */