diff --git a/src/c_wrapper/debug.h b/src/c_wrapper/debug.h
index d314da4ff8ae12f63a557697385e45bc89944e23..f0700030fa9ea0255aba8d37cd5368cb7120aa93 100644
--- a/src/c_wrapper/debug.h
+++ b/src/c_wrapper/debug.h
@@ -1,16 +1,11 @@
 #include "wrap_cl.h"
 #include "function.h"
 #include <string.h>
+#include <mutex>
 
 #ifdef __MINGW32__
-
 #include "mingw-std-threads/mingw.mutex.h"
 #include "mingw-std-threads/mingw.thread.h"
-
-#else
-
-#include <mutex>
-
 #endif
 
 #ifndef __PYOPENCL_DEBUG_H