summaryrefslogtreecommitdiff
path: root/graphics/hp2xx/patches/patch-ad
blob: 33df84b678944fa0fe56ecdc644ade6f83ef4f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ad,v 1.5 2005/11/03 22:09:28 rillig Exp $

--- sources/getopt.c.orig	Sat Jun 21 15:31:51 2003
+++ sources/getopt.c
@@ -56,6 +56,8 @@ void Eprintf(const char *, ...);
 #endif
 
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 
 /* Comment out all this code if we are using the GNU C Library, and are not
    actually compiling the library itself.  This code is part of the GNU C