projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
34851ad
)
solaris: #include <pthread.h>
author
Tomohiro Kusumi
<tkusumi@tuxera.com>
Fri, 3 Nov 2017 16:46:01 +0000
(18:46 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/os/os-solaris.h
b/os/os-solaris.h
index 45268b23862af2983922fca47115cf0d362c6243..a6cd3766a5761a632a03ba7216c3a0a28e4556ee 100644
(file)
--- a/
os/os-solaris.h
+++ b/
os/os-solaris.h
@@
-12,6
+12,7
@@
#include <sys/mman.h>
#include <sys/dkio.h>
#include <sys/byteorder.h>
#include <sys/mman.h>
#include <sys/dkio.h>
#include <sys/byteorder.h>
+#include <pthread.h>
#include "../file.h"
#include "../file.h"