Commit 31794ac3 authored by Max Kellermann's avatar Max Kellermann

lib/nfs/FileReader: move sys/stat.h to header because "struct stat" may be macro

It indeed is a macro on Windows.
parent 2141fdf0
...@@ -31,7 +31,6 @@ ...@@ -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 @@ ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment