summary refs log tree commit diff
path: root/sysdeps/mach/hurd/i386
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-09-12 23:05:24 +0000
committerRoland McGrath <roland@gnu.org>2004-09-12 23:05:24 +0000
commit4b41db60486ab655d6bd8bf6957a1cf702edf4a1 (patch)
tree1c419d4281e40cdb20cc25a8d3eec8f233c8cfc9 /sysdeps/mach/hurd/i386
parent20f8e6663accb3d318630e8ec4a08ed37521fce6 (diff)
downloadglibc-4b41db60486ab655d6bd8bf6957a1cf702edf4a1.tar.gz
glibc-4b41db60486ab655d6bd8bf6957a1cf702edf4a1.tar.xz
glibc-4b41db60486ab655d6bd8bf6957a1cf702edf4a1.zip
2004-09-12 Roland McGrath <roland@frob.com>
	* sysdeps/mach/hurd/i386/init-first.c (init1) [! SHARED]: Add decls
	missing in last change.
Diffstat (limited to 'sysdeps/mach/hurd/i386')
-rw-r--r--sysdeps/mach/hurd/i386/init-first.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c
index 1b2dee5c9d..af27473d0d 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -103,6 +103,10 @@ init1 (int argc, char *arg0, ...)
   char **argv = &arg0;
   char **envp = &argv[argc + 1];
   struct hurd_startup_data *d;
+#ifndef SHARED
+  extern ElfW(Phdr) *_dl_phdr;
+  extern size_t _dl_phnum;
+#endif
 
   while (*envp)
     ++envp;