1 /* sysdep.h -- handle host dependencies for the GNU linker
2 Copyright (C) 1995, 96, 1997 Free Software Foundation, Inc.
4 This file is part of GLD, the Gnu Linker.
6 GLD is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GLD is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GLD; see the file COPYING. If not, write to the Free
18 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
29 #include <sys/types.h>
38 extern char *strchr ();
39 extern char *strrchr ();
51 #ifdef USE_BINARY_FOPEN
52 #include "fopen-bin.h"
54 #include "fopen-same.h"
57 #ifdef NEED_DECLARATION_STRSTR
58 extern char *strstr ();
61 #ifdef NEED_DECLARATION_FREE
65 #ifdef NEED_DECLARATION_GETENV
66 extern char *getenv ();
69 #ifdef NEED_DECLARATION_ENVIRON
70 extern char **environ;
73 #endif /* ! defined (LD_SYSDEP_H) */