logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit 14ed2e62ef0b51c49535b006e9f3d053f268d53c
parent 3c511a617b7c5a4109d7a679822c49fcf5b1ab3a
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu, 14 Jan 2016 10:18:47 +0100

Conditional include for 'pledge'

Diffstat:
Msrc/logswan.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/logswan.c b/src/logswan.c @@ -25,6 +25,10 @@ #include <time.h> #include <unistd.h> +#ifndef HAVE_PLEDGE +#include "pledge.h" +#endif + #ifndef HAVE_STRTONUM #include "strtonum.h" #endif