Eliminated warnings.

diff --git a/scheduler/thread.c b/scheduler/thread.c
index dc1e298..a649ceb 100644
--- a/scheduler/thread.c
+++ b/scheduler/thread.c
@@ -4,6 +4,8 @@
  * Copyright 1996 Alexandre Julliard
  */
 
+#include "config.h"
+
 #include <assert.h>
 #include <fcntl.h>
 #include <sys/types.h>