1 /* System includes and definitions used by the Motorola MCore simulator.
2 Copyright (C) 1999, 2007 Free Software Foundation, Inc.
3 Contributed by Cygnus Solutions.
5 This file is part of GDB, the GNU debugger.
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 3 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, see <http://www.gnu.org/licenses/>. */
23 #ifndef hosts_std_host_H
27 #include <sys/types.h>
35 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
45 /*#include <string.h>*/
47 extern char * mktemp ();
52 #ifndef DONTDECLARE_MALLOC
54 extern PTR realloc ();
60 /* char * memcpy (); */
70 extern char * strchr();
72 extern char * getenv();
74 extern char * strrchr();
76 extern char * strrchr();
77 extern char * ctime();
79 extern char * getenv();
80 #endif /* STDC_HEADERS */
82 #ifndef BYTES_IN_PRINTF_INT
83 #define BYTES_IN_PRINTF_INT 4
86 #include "fopen-same.h"
87 #define hosts_std_host_H
92 #endif /* STDC_HEADERS */
94 #endif /* __SYSDEP_H */