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 @@ ...@@ -43,7 +43,7 @@
# define HAVE_DIRECT_IO # define HAVE_DIRECT_IO
#endif #endif
#ifdef __FreeBSD__ #if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
# include <sys/disk.h> # include <sys/disk.h>
# define HAVE_NOCACHE_IO # define HAVE_NOCACHE_IO
#endif #endif
...@@ -341,7 +341,7 @@ out: ...@@ -341,7 +341,7 @@ out:
fclose(file); fclose(file);
} }
#elif defined(__APPLE__) || defined(__FreeBSD__) #elif defined(__APPLE__) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
void parse_device(dev_t dev) 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