mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
Remove unnecessary include.
And unistd.h is not available on windows.
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user