summaryrefslogtreecommitdiff
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
commit4d5e394c684a2a2c13f72f024526b1b4680e9c68 (patch)
tree6cf2e4e63ddc19ec11bc41f2fccf26c2d144931e /ld/ldemul.c
parent1601489a1f7eacf479291bdb01235c229c71c217 (diff)
downloadbinutils-redhat-4d5e394c684a2a2c13f72f024526b1b4680e9c68.tar.gz
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 b935e0a053..45869d8770 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"