Commit e95689f0 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

ioping: port to Debian GNU/kFreeBSD

Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent d8050da2
......@@ -43,7 +43,7 @@
# define HAVE_DIRECT_IO
#endif
#ifdef __FreeBSD__
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
# include <sys/disk.h>
# define HAVE_NOCACHE_IO
#endif
......@@ -341,7 +341,7 @@ out:
fclose(file);
}
#elif defined(__APPLE__) || defined(__FreeBSD__)
#elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
void parse_device(dev_t dev)
{
......
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