1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/databases/puredb/files/patch-example_read.c
Edwin Groothuis 01f686aad2 databases/puredb: Set of libraries for creating and reading constant databases
PureDB is a portable and tiny set of libraries for creating
	and reading constant databases. It manages data files that
	contains text or binary key/data pairs of arbitrary sizes.
	Lookups are very fast (normally only one disk access to
	match a hash value), overhead is low (a database is 1028
	bytes plus only 16 extra bytes per record), multiple
	concurrent read access are supported, and databases can be
	up to 4 Gb long, and they are portable across architectures.

PR:		ports/48901
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
2003-04-01 02:36:38 +00:00

13 lines
256 B
C

--- src/example_read.c.orig Fri Nov 1 23:21:19 2002
+++ src/example_read.c Fri Nov 1 23:21:47 2002
@@ -3,6 +3,9 @@
#include <stdio.h>
#include <stdlib.h>
+#ifdef __FreeBSD__
+#include <sys/types.h>
+#endif
#include <puredb_read.h>
int main(void)