From a17f93e896ffecbdb6b2f3fa9caa1e1848ea5ab4 Mon Sep 17 00:00:00 2001 From: Joris Vink Date: Tue, 9 Jul 2013 09:45:16 +0200 Subject: [PATCH] Include sys/types.h and unistd.h for close(), getopt(), getpid(), getuid(), setproctitle(), unlink() and declaration of optarg. Makes Kore compatible with FreeBSD too. From Ayan George --- includes/kore.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/kore.h b/includes/kore.h index fc43bdc..a8a8d79 100644 --- a/includes/kore.h +++ b/includes/kore.h @@ -17,6 +17,7 @@ #ifndef __H_KORE_H #define __H_KORE_H +#include #include #include @@ -28,6 +29,7 @@ #include #include #include +#include #include #include "spdy.h"