freebsd-ports/dns/dnstable/files/patch-src_dnstable__convert.c
Don Lewis 9db4cb7b4e Add new port dns/dnstable.
dnstable implements an encoding format for passive DNS data. It
consists of a C library, libdnstable, and several command line
utilities for creating, querying, and merging dnstable data files.

It stores key-value records in Sorted String Table (SSTable) files
and provides high-level interfaces for querying or iterating over
the stored records. dnstable encodes individual records using a
format tailored for efficiently storing passive DNS data and can
quickly perform both "forward" and "inverse" searches.

Differential Revision:	https://reviews.freebsd.org/D2214
Approved by:	mat (mentor)
Sponsored by:	Farsight Security, Inc.
2015-04-03 22:22:45 +00:00

10 lines
232 B
C

--- src/dnstable_convert.c.orig 2014-05-21 21:37:25 UTC
+++ src/dnstable_convert.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#include <sys/endian.h>
#include <dnstable.h>
#include <mtbl.h>