glibc-patch


% diff -u3 error.h.orig error.h
--- error.h.orig	1998-06-15 06:53:16.000000000 -0400
+++ error.h	2002-12-24 20:28:40.000000000 -0500
@@ -1,7 +1,7 @@
#ifndef ERROR_H
#define ERROR_H
-extern int errno;
+#include <errno.h>
extern int error_intr;
extern int error_nomem;
% diff -u3 dns.c.orig dns.c
--- dns.c.orig	2002-08-09 19:20:48.000000000 -0400
+++ dns.c	2002-12-24 20:42:46.000000000 -0500
@@ -7,8 +7,6 @@
#include <errno.h>
extern int res_query();
extern int res_search();
-extern int errno;
-extern int h_errno;
#include "ip.h"
#include "ipalloc.h"
#include "fmt.h"
% diff -u3 cdb_seek.c.orig cdb_seek.c
--- cdb_seek.c.orig	1998-06-15 06:53:16.000000000 -0400
+++ cdb_seek.c	2002-12-24 20:42:52.000000000 -0500
@@ -1,6 +1,5 @@
#include <sys/types.h>
#include <errno.h>
-extern int errno;
#include "cdb.h"
#ifndef SEEK_SET