mirror of https://github.com/kiwix/libkiwix.git
added #include <unistd.h> for GCC 4.7+
This commit is contained in:
parent
e7446e0479
commit
3a5b7fabc1
|
@ -30,6 +30,8 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <pthread.h>
|
||||
|
|
|
@ -26,6 +26,11 @@
|
|||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX 1024
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue