pkgsrc/mail/elm/patches/patch-ai
joerg bdc9385669 Remove LIBC hack, shouldn't be needed anymore.
Express interest in nroff via USE_TOOLS.
Expect sys/types.h to provide size_t.
Fix errno.
Don't define prototypes for ISO C / POSIX functions.
short gets promoted to int, float to double, so use va_arg with the
promoted types.
2006-01-24 22:47:13 +00:00

14 lines
307 B
Text

$NetBSD: patch-ai,v 1.1 2006/01/24 22:47:13 joerg Exp $
--- hdrs/elm_lib.h.orig 2006-01-24 19:53:20.000000000 +0000
+++ hdrs/elm_lib.h
@@ -67,8 +67,8 @@ int elm_access P_((const char *, int));
/* errno.c */
+#include <errno.h>
-extern int errno;
#ifndef STRERROR
char *strerror P_((int));
#endif