Re: [PATCH v2 42/43] refs: add LMDB refs backend
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 2, 2015, 21:35 UTC
- Message-ID
- <xmqq1tdd3qe9.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1443477738-32023-43-git-send-email-dturner@twopensource.com>
David Turner <dturner@twopensource.com> writes:
Show 12 quoted lines
> diff --git a/refs-be-lmdb.c b/refs-be-lmdb.c > new file mode 100644 > index 0000000..99cbd29 > --- /dev/null > +++ b/refs-be-lmdb.c > @@ -0,0 +1,2003 @@ > +/* > + ... > + */ > +#include <lmdb.h> > +#include <sys/uio.h> > +#include "cache.h"
"git-compat-util.h" (or "cache.h", because it is well known and includes "git-compat-util.h" as the first thing before doing anything else) must be the first file included in any of our C files, unless it is a platform specific compat/ object.