Index: include/proc/thread.h
===================================================================
--- include/proc/thread.h	(revision 76cec1e21a9510de8780a546f59799bc82003d87)
+++ include/proc/thread.h	(revision 361635cc8cbd2af7919fe3e68f9792ebe4770f2c)
@@ -40,7 +40,8 @@
 #include <synch/rwlock.h>
 #include <mm/page.h>
+#include <config.h>
 #include <list.h>
 
-#define THREAD_STACK_SIZE	PAGE_SIZE
+#define THREAD_STACK_SIZE	STACK_SIZE
 
 #define THREAD_USER_STACK	1
