$NetBSD: patch-ar,v 1.1 2007/10/10 16:53:59 rillig Exp $

--- common/errwarn.c.orig	1996-09-10 00:12:34.000000000 +0000
+++ common/errwarn.c	2007-10-10 16:48:18.000000000 +0000
@@ -46,6 +46,8 @@ static char copyright[] =
 #include "global.h"
 #include <syslog.h>
 #include <errno.h>
+#include <stdio.h>
+#include <stdlib.h>
 
 static void do_percentm PROTO ((char *obuf, char *ibuf));
 
