fuse: use EIO instead of EREMOTEIO for BSDs
FreeBSD/OpenBSD/NetBSD and OS X don't have errno EREMOTEIO.
This commit is contained in:
parent
9c2951fa6c
commit
53ea01d51e
@ -107,6 +107,10 @@ void xfuse_devredir_cb_file_close(void *vp) {}
|
||||
#include "list.h"
|
||||
#include "fifo.h"
|
||||
|
||||
#ifndef EREMOTEIO
|
||||
#define EREMOTEIO EIO
|
||||
#endif
|
||||
|
||||
#define min(x, y) ((x) < (y) ? (x) : (y))
|
||||
|
||||
#define XFUSE_ATTR_TIMEOUT 1.0
|
||||
|
Loading…
Reference in New Issue
Block a user