$NetBSD: patch-ai,v 1.2 2006/01/04 17:00:32 joerg Exp $ --- src/sysdep.c.orig 2000-05-24 13:59:14.000000000 +0000 +++ src/sysdep.c @@ -104,8 +104,6 @@ extern unsigned start __asm__ ("start"); #endif #endif -extern int errno; - #ifdef VMS #include #include @@ -2134,6 +2132,7 @@ unrequest_sigio () * */ +#if !(defined (__NetBSD__) && defined (__ELF__)) #ifndef HAVE_TEXT_START char * start_of_text () @@ -2151,6 +2150,7 @@ start_of_text () #endif /* TEXT_START */ } #endif /* not HAVE_TEXT_START */ +#endif /* * Return the address of the start of the data segment prior to