configure: add gettid() test
[fio.git] / trim.c
diff --git a/trim.c b/trim.c
index 78cf67244efa22534604fd6b6652379457a571a2..bf825db346df0596b63b88f6e755e7b7985965ca 100644 (file)
--- a/trim.c
+++ b/trim.c
@@ -1,11 +1,8 @@
 /*
  * TRIM/DISCARD support
  */
-#include <unistd.h>
-#include <fcntl.h>
 #include <string.h>
 #include <assert.h>
-#include <pthread.h>
 
 #include "fio.h"
 #include "trim.h"