* elflink.c (bfd_elf_size_dynsym_hash_dynstr): Move declarations
[binutils.git] / opcodes / sysdep.h
blob4f1efb23339732af5a63da16a355dc0dd32192c7
1 /* Random host-dependent support code.
2 Copyright 1995, 1997, 2000 Free Software Foundation, Inc.
3 Written by Ken Raeburn.
5 This file is part of libopcodes, the opcodes library.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */
22 /* Do system-dependent stuff, mainly driven by autoconf-detected info.
24 Well, some generic common stuff is done here too, like including
25 ansidecl.h. That's because the .h files in bfd/hosts files I'm
26 trying to replace often did that. If it can be dropped from this
27 file (check in a non-ANSI environment!), it should be. */
29 #include "config.h"
31 #include "ansidecl.h"
33 #ifdef HAVE_STDLIB_H
34 #include <stdlib.h>
35 #endif
37 #ifdef HAVE_STRING_H
38 #include <string.h>
39 #else
40 #ifdef HAVE_STRINGS_H
41 #include <strings.h>
42 #endif
43 #endif