aboutsummaryrefslogtreecommitdiff
path: root/ld/ldemul.c
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/ldemul.c
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/ldemul.c')
-rw-r--r--ld/ldemul.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldemul.c b/ld/ldemul.c
index b935e0a..45869d8 100644
--- a/ld/ldemul.c
+++ b/ld/ldemul.c
@@ -20,6 +20,7 @@ along with GLD; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+#include "config.h"
#include "bfd.h"
#include "sysdep.h"
#include "getopt.h"