Remove unnecessary include.

And unistd.h is not available on windows.
This commit is contained in:
Matthieu Gautier
2019-06-12 14:07:09 +02:00
parent 7c1d051305
commit 4e746916a7
3 changed files with 5 additions and 14 deletions

View File

@ -1,15 +1,7 @@
#ifndef KIWIXLIB_KIWIX_SERVE_H_
#define KIWIXLIB_KIWIX_SERVE_H_
#ifdef _WIN32
// winsock2.h need to be included before windows.h (included by curl.h)
# include <winsock2.h>
#endif
#include <sys/types.h>
#include <unistd.h>
#include <memory>
#include "tools/pathTools.h"
class Subprocess;
namespace kiwix {