aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/xref.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/xref.c')
-rw-r--r--gcc/cp/xref.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/xref.c b/gcc/cp/xref.c
index 6269f17..40cdf42 100644
--- a/gcc/cp/xref.c
+++ b/gcc/cp/xref.c
@@ -1,5 +1,5 @@
/* Code for handling XREF output from GNU C++.
- Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1992, 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
Contributed by Michael Tiemann (tiemann@cygnus.com)
This file is part of GNU CC.
@@ -42,7 +42,9 @@ extern char *getpwd PROTO((void));
#include <string.h>
#endif
+#ifdef NEED_DECLARATION_RINDEX
extern char *rindex ();
+#endif
/* The character(s) used to join a directory specification (obtained with
getwd or equivalent) with a non-absolute file name. */