forked from Lainports/freebsd-ports
The NetBSD's constant database (cdb) library provides a space efficient key-value database based on perfect hashing, thus guaranteeing the O(1) lookup time. The database preserves the key order. WWW: https://github.com/rmind/libcdb While be used by npf port
11 lines
337 B
C
11 lines
337 B
C
--- mi_vector_hash.c.orig 2019-05-24 08:15:13 UTC
|
|
+++ mi_vector_hash.c
|
|
@@ -46,7 +46,7 @@
|
|
__RCSID("$NetBSD: mi_vector_hash.c,v 1.1 2013/12/11 01:24:08 joerg Exp $");
|
|
|
|
#if !HAVE_NBTOOL_CONFIG_H || HAVE_SYS_ENDIAN_H
|
|
-#ifdef __NetBSD__
|
|
+#if defined(__NetBSD__) || defined(__FreeBSD__)
|
|
#include <sys/endian.h>
|
|
#else
|
|
#include <endian.h>
|