summaryrefslogtreecommitdiff
path: root/databases/sdbm/patches/patch-ae
blob: 9b93ecad2fcaf2e951741989318c5d6ee71ea301 (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-ae,v 1.3 2012/03/05 03:38:12 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,7 @@
 #include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <fcntl.h>
 #include <sys/file.h>
 #ifdef SDBM
 #include "sdbm.h"
@@ -12,7 +15,6 @@
 #endif
 
 extern int	getopt();
-extern char	*strchr();
 extern void	oops();
 
 char *progname;