lib/nfs/FileReader: move sys/stat.h to header because "struct stat" may be macro
It indeed is a macro on Windows.
This commit is contained in:
parent
2141fdf06e
commit
31794ac376
|
@ -31,7 +31,6 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/stat.h>
|
|
||||||
|
|
||||||
NfsFileReader::NfsFileReader()
|
NfsFileReader::NfsFileReader()
|
||||||
:DeferredMonitor(io_thread_get()), state(State::INITIAL)
|
:DeferredMonitor(io_thread_get()), state(State::INITIAL)
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
|
#include <sys/stat.h>
|
||||||
|
|
||||||
struct nfsfh;
|
struct nfsfh;
|
||||||
class NfsConnection;
|
class NfsConnection;
|
||||||
|
|
Loading…
Reference in New Issue