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:
Max Kellermann 2018-02-24 22:03:38 +01:00
parent 2141fdf06e
commit 31794ac376
2 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,6 @@
#include <assert.h>
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
NfsFileReader::NfsFileReader()
:DeferredMonitor(io_thread_get()), state(State::INITIAL)

View File

@ -31,6 +31,7 @@
#include <stdint.h>
#include <stddef.h>
#include <sys/stat.h>
struct nfsfh;
class NfsConnection;