diff options
author | Koichiro IWAO <meta@vmeta.jp> | 2015-03-18 03:18:39 +0000 |
---|---|---|
committer | Koichiro IWAO <meta@vmeta.jp> | 2015-03-18 03:18:39 +0000 |
commit | 53ea01d51e74de7b724a96aae8321e430bef3f02 (patch) | |
tree | 0ba95cdb957f081e60a0a86ed8777536413ecbd6 /sesman/chansrv/chansrv_fuse.c | |
parent | 9c2951fa6cb70159904bc9932c6c48b571b21146 (diff) | |
download | xrdp-proprietary-53ea01d51e74de7b724a96aae8321e430bef3f02.tar.gz xrdp-proprietary-53ea01d51e74de7b724a96aae8321e430bef3f02.zip |
fuse: use EIO instead of EREMOTEIO for BSDs
FreeBSD/OpenBSD/NetBSD and OS X don't have errno EREMOTEIO.
Diffstat (limited to 'sesman/chansrv/chansrv_fuse.c')
-rw-r--r-- | sesman/chansrv/chansrv_fuse.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sesman/chansrv/chansrv_fuse.c b/sesman/chansrv/chansrv_fuse.c index b6345b1b..b3499ad6 100644 --- a/sesman/chansrv/chansrv_fuse.c +++ b/sesman/chansrv/chansrv_fuse.c @@ -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 |