pkgsrc/net/yale-tftpd/patches/patch-ak
heinz d7493ed02e Added compatibility fixes for NetBSD/FreeBSD/Linux/Solaris provided by
Yakovetsky Vladimir in PR pkg/36942.
Shut up warning by pkglint (PLIST).
Introduced PKGMANDIR in software Makefile.
2007-10-02 20:23:07 +00:00

15 lines
370 B
Text

$NetBSD: patch-ak,v 1.1 2007/10/02 20:23:08 heinz Exp $
--- tftpyale.h.orig 1995-03-20 21:19:10.000000000 +0100
+++ tftpyale.h
@@ -24,6 +24,10 @@ extern int dfltDebugLevel;
#include <stdlib.h>
#include <string.h>
#include <errno.h>
+#elif HAVE_STRERROR
+#include <stdlib.h>
+#include <string.h>
+#include <errno.h>
#else /* not sane unix */
# ifdef __STDC__