solaris: #include <pthread.h>
authorTomohiro Kusumi <tkusumi@tuxera.com>
Fri, 3 Nov 2017 16:46:01 +0000 (18:46 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Nov 2017 16:48:35 +0000 (10:48 -0600)
os/os-solaris.h header uses pthread, but doesn't include <pthread.h>
which should be to be able to include this header alone.
Needed for unittesting of OS specific stuff.

Signed-off-by: Tomohiro Kusumi <tkusumi@tuxera.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
os/os-solaris.h

index 45268b23862af2983922fca47115cf0d362c6243..a6cd3766a5761a632a03ba7216c3a0a28e4556ee 100644 (file)
@@ -12,6 +12,7 @@
 #include <sys/mman.h>
 #include <sys/dkio.h>
 #include <sys/byteorder.h>
+#include <pthread.h>
 
 #include "../file.h"