summaryrefslogtreecommitdiff
path: root/net/yale-tftpd/patches/patch-ak
blob: 4efe2e4d2b56e93186a1ee2809f093ec51d94c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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__