about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--sysdeps/ia64/dl-lookupcfg.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fbfdd5f1fc..a95f9067ac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-08-26  Ulrich Drepper  <drepper@redhat.com>
 
+	* sysdeps/ia64/dl-lookupcfg.h: Add forward declaration for struct
+	link_map.
+
 	* configure.in: Fix test for .rela.dyn section.
 
 	* elf/dl-runtime.c: Update calls to _dl_lookup_*.
diff --git a/sysdeps/ia64/dl-lookupcfg.h b/sysdeps/ia64/dl-lookupcfg.h
index 2f5ba8ed6c..76be84322a 100644
--- a/sysdeps/ia64/dl-lookupcfg.h
+++ b/sysdeps/ia64/dl-lookupcfg.h
@@ -1,5 +1,5 @@
 /* Configuration of lookup functions.
-   Copyright (C) 2000 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,9 @@
 #define ELF_FUNCTION_PTR_IS_SPECIAL
 #define DL_UNMAP_IS_SPECIAL
 
+/* Forward declaration.  */
+struct link_map;
+
 extern void *_dl_symbol_address (const struct link_map *map,
 				 const Elf64_Sym *ref);