aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/elf32.em
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-04-04 11:27:16 +0000
committerNick Clifton <nickc@redhat.com>2005-04-04 11:27:16 +0000
commit34875e6487738a81c2b09979b804556bc8ea885b (patch)
tree35f8536360eb5884dbf3706d1a550ee0f933acdf /ld/emultempl/elf32.em
parent661f7c357e34dee7936489da7a385c29a1343d02 (diff)
downloadgdb-34875e6487738a81c2b09979b804556bc8ea885b.zip
gdb-34875e6487738a81c2b09979b804556bc8ea885b.tar.gz
gdb-34875e6487738a81c2b09979b804556bc8ea885b.tar.bz2
Add a check for <unistd.h> providing a prototype for getopt() which is compatible
with the one in include/getopt.h. If so then define HAVE_DECL_GETOPT.
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r--ld/emultempl/elf32.em1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 3b9cdd7..16464b5 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -35,6 +35,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define TARGET_IS_${EMULATION_NAME}
+#include "config.h"
#include "bfd.h"
#include "sysdep.h"
#include "libiberty.h"