summaryrefslogtreecommitdiff
path: root/databases/sdbm/patches/patch-ae
blob: cfc14ff111d6ed2da50f19482049462bd241b109 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ae,v 1.2 2011/11/14 01:41:08 dholland Exp $

- Use standard includes instead of own declarations

--- dbu.c.orig	2011-11-14 01:43:27.000000000 +0000
+++ dbu.c
@@ -1,4 +1,6 @@
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
 #include <sys/file.h>
 #ifdef SDBM
 #include "sdbm.h"
@@ -12,7 +14,6 @@
 #endif
 
 extern int	getopt();
-extern char	*strchr();
 extern void	oops();
 
 char *progname;