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