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>
This commit is contained in:
Joris Vink 2013-07-09 09:45:16 +02:00
parent 35b71353d5
commit a17f93e896
1 changed files with 2 additions and 0 deletions

View File

@ -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"