fuse: use EIO instead of EREMOTEIO for BSDs

FreeBSD/OpenBSD/NetBSD and OS X don't have errno EREMOTEIO.
ulab-next-nosound
Koichiro IWAO 10 years ago
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…
Cancel
Save