logswan

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

commit 4c1c3b96db929d0aef211e4cf06d9fef5be8a3ca
parent 567bbbd6b2033f296c7122465a90d8b46ddc9f78
Author: Frederic Cambus <fred@statdns.com>
Date:   Sun, 30 Oct 2016 21:02:46 +0100

Headers cleanup

Diffstat:
Msrc/logswan.c | 7++++---
Msrc/output.h | 5++++-
2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/src/logswan.c b/src/logswan.c @@ -5,7 +5,7 @@ /* http://www.logswan.org */ /* */ /* Created: 2015-05-31 */ -/* Last Updated: 2016-07-18 */ +/* Last Updated: 2016-10-30 */ /* */ /* Logswan is released under the BSD 2-Clause license. */ /* See LICENSE file for details. */ @@ -16,14 +16,15 @@ #include <netinet/in.h> #include <sys/socket.h> #include <sys/stat.h> +#include <sys/types.h> #include <err.h> -#include <errno.h> #include <getopt.h> #include <inttypes.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <time.h> -#include <unistd.h> #ifndef HAVE_PLEDGE #include "pledge.h" diff --git a/src/output.h b/src/output.h @@ -5,7 +5,7 @@ /* http://www.logswan.org */ /* */ /* Created: 2015-05-31 */ -/* Last Updated: 2016-07-18 */ +/* Last Updated: 2016-10-30 */ /* */ /* Logswan is released under the BSD 2-Clause license. */ /* See LICENSE file for details. */ @@ -15,6 +15,9 @@ #ifndef OUTPUT_H #define OUTPUT_H +#include <sys/types.h> +#include "config.h" + struct results { char *fileName; uint64_t fileSize;