summaryrefslogtreecommitdiff
path: root/net/cmu-dhcpd/patches/patch-af
blob: 1cdc72fbec9e01ef8dba7920a0cc3c8cb6237bfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-af,v 1.1 2006/03/14 02:21:46 joerg Exp $

--- report.c.orig	2006-03-14 02:15:23.000000000 +0000
+++ report.c
@@ -10,6 +10,7 @@
 #endif
 
 #include <stdio.h>
+#include <string.h>
 
 #include "defaults.h"
 #include "report.h"
@@ -138,9 +139,6 @@ report(priority, fmt, va_alist)
 char *
 get_errmsg()
 {
-	extern int errno;
-	extern char *strerror();
-
 	return strerror(errno);
 }