pkgsrc/databases/sdbm/patches/patch-ae

22 lines
441 B
Text

$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;