Files
pkgsrc-ng/net/yale-tftpd/patches/patch-ak
2013-09-26 17:14:40 +02:00

18 lines
437 B
Plaintext

$NetBSD: patch-ak,v 1.2 2012/01/25 09:56:08 he Exp $
A number of changes to make this build with no warnings under -Wall.
--- tftpyale.h.orig 1995-03-20 20:19:10.000000000 +0000
+++ 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__