1 /* System includes and definitions used by the Xilinx MicroBlaze simulator.
2 Copyright (C) 1999, 2010, 2011 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, or (at your option)
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 along
18 with this program; if not, write to the Free Software Foundation, Inc.,
19 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
24 #ifndef hosts_std_host_H
28 #include <sys/types.h>
36 #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
46 /*#include <string.h>*/
48 extern char *mktemp ();
53 #ifndef DONTDECLARE_MALLOC
55 extern PTR realloc ();
61 /* char *memcpy (); */
71 extern char *strchr();
73 extern char *getenv();
75 extern char *strrchr();
77 extern char *strrchr();
80 extern char *getenv();
81 #endif /* STDC_HEADERS */
83 #ifndef BYTES_IN_PRINTF_INT
84 #define BYTES_IN_PRINTF_INT 4
87 #include "fopen-same.h"
88 #define hosts_std_host_H
93 #endif /* STDC_HEADERS */
95 #endif /* __SYSDEP_H */