Files
pkgsrc-ng/net/ez-ipupdate/patches/patch-ab
2013-09-26 17:14:40 +02:00

20 lines
467 B
Plaintext

$NetBSD: patch-ab,v 1.1.1.1 2005/12/28 15:50:35 ghen Exp $
--- error.h.orig 2000-11-24 23:46:37.000000000 +0100
+++ error.h
@@ -1,12 +1,12 @@
#ifndef _ERROR_H
#define _ERROR_H
+#include <errno.h>
+
#if HAVE_STRERROR
-extern int errno;
# define error_string strerror(errno)
#elif HAVE_SYS_ERRLIST
extern const char *const sys_errlist[];
-extern int errno;
# define error_string (sys_errlist[errno])
#else
# define error_string "error message not found"