zbd: Fix build errors on Windows and MacOS
authorDamien Le Moal <damien.lemoal@wdc.com>
Wed, 8 Apr 2020 01:54:26 +0000 (10:54 +0900)
committerJens Axboe <axboe@kernel.dk>
Wed, 8 Apr 2020 02:20:36 +0000 (20:20 -0600)
Including dirent.h is not needed, so remove it to avoid a compilation
error on Windows and MacOS. Also make sure that EREMOTEIO is defined as
some OSes do not have this error code.

Fixes: b76949618d55 ("fio: Generalize zonemode=zbd")
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

No differences found