summaryrefslogtreecommitdiff
path: root/ld/ldemul.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2003-02-28 22:55:11 +0000
committerAlan Modra <amodra@gmail.com>2003-02-28 22:55:11 +0000
commitfcf65871118c9a451245ae44effc84cd2503a596 (patch)
treefe768365f7a820a2583a8a383b4a3637bf3003da /ld/ldemul.c
parenta55cc764aed98017f982ab5673d4028b74e53a2b (diff)
* ldemul.c: Include getopt.h.
* emultempl/elf32.em: Include getopt.h earlier. * emultempl/ticoff.em: Likewise.
Diffstat (limited to 'ld/ldemul.c')
-rw-r--r--ld/ldemul.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c
index dc087943b9..d1891270f9 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -1,5 +1,5 @@
/* ldemul.c -- clearing house for ld emulation states
- Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2002
+ Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2000, 2002, 2003
Free Software Foundation, Inc.
This file is part of GLD, the Gnu Linker.
@@ -21,6 +21,7 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#include "bfd.h"
#include "sysdep.h"
+#include "getopt.h"
#include "ld.h"
#include "ldmisc.h"