]> git.saurik.com Git - apple/libc.git/blob - db/hash/FreeBSD/ndbm.c.patch
7be0d7a831ec5ac0e0e37bd8e476b5d9e7a3ab75
[apple/libc.git] / db / hash / FreeBSD / ndbm.c.patch
1 --- ndbm.c.orig Wed Oct 22 19:07:02 2003
2 +++ ndbm.c Wed Dec 17 09:24:33 2003
3 @@ -51,6 +51,7 @@
4 #include <string.h>
5 #include <errno.h>
6
7 +#include <db.h>
8 #include <ndbm.h>
9 #include "hash.h"
10
11 @@ -62,7 +63,8 @@
12 extern DBM *
13 dbm_open(file, flags, mode)
14 const char *file;
15 - int flags, mode;
16 + int flags;
17 + mode_t mode;
18 {
19 HASHINFO info;
20 char path[MAXPATHLEN];