summaryrefslogtreecommitdiff
path: root/binutils/addr2line.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-03-31 14:40:41 +0000
committerNick Clifton <nickc@redhat.com>2005-03-31 14:40:41 +0000
commitbd4f7a8f3985986b4f3d9df49310053a92eaa81f (patch)
treeb26c5ce3ead3be03a9050f3db35f8f7318c8a8a0 /binutils/addr2line.c
parent8b12f024350c7a1413ae1b1e09cff892dd62c6e3 (diff)
downloadbinutils-redhat-bd4f7a8f3985986b4f3d9df49310053a92eaa81f.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 'binutils/addr2line.c')
-rw-r--r--binutils/addr2line.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/addr2line.c b/binutils/addr2line.c
index 31e0b2f370..18d8753893 100644
--- a/binutils/addr2line.c
+++ b/binutils/addr2line.c
@@ -29,6 +29,7 @@
both forms write results to stdout, the second form reads addresses
to be converted from stdin. */
+#include "config.h"
#include <string.h>
#include "bfd.h"