Despite what the documentation says/implies, PTHREAD_STACK_MIN is often not
defined by pthread.h.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4709 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index d020228..b6e9778 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -27,6 +27,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <time.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/ipc.h>
 #include <sys/msg.h>