kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit a17f93e896ffecbdb6b2f3fa9caa1e1848ea5ab4
parent 35b71353d5255c47ae4e77470cc3a09638bec5b7
Author: Joris Vink <joris@coders.se>
Date:   Tue,  9 Jul 2013 09:45:16 +0200

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 <ayan@ayan.net>

Diffstat:
includes/kore.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/includes/kore.h b/includes/kore.h @@ -17,6 +17,7 @@ #ifndef __H_KORE_H #define __H_KORE_H +#include <sys/types.h> #include <sys/queue.h> #include <netinet/in.h> @@ -28,6 +29,7 @@ #include <errno.h> #include <regex.h> #include <syslog.h> +#include <unistd.h> #include <zlib.h> #include "spdy.h"