aboutsummaryrefslogtreecommitdiff
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
commite46eba98aea90cf780f66f7633c2e3417a2a6a76 (patch)
tree900100573fb8f51fda9d16b32f47e780a2ea4d23 /binutils/addr2line.c
parent0f2d00bca88a013fcd12d7a09ddb3a5bde378322 (diff)
downloadgdb-e46eba98aea90cf780f66f7633c2e3417a2a6a76.zip
gdb-e46eba98aea90cf780f66f7633c2e3417a2a6a76.tar.gz
gdb-e46eba98aea90cf780f66f7633c2e3417a2a6a76.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 '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 31e0b2f..18d8753 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"