--- libvirt.orig/src/internal.h	Tue Jan 22 01:29:10 2008
+++ libvirt/src/internal.h	Thu Feb  7 16:59:20 2008
@@ -7,6 +7,7 @@
 
 #include <errno.h>
 #include <limits.h>
+#include <pthread.h>
 
 #ifdef HAVE_SYS_SYSLIMITS_H
 #include <sys/syslimits.h>
