Index: random/unix.c
--- random/unix.c.orig	2005-08-23 00:48:20 +0200
+++ random/unix.c	2005-09-06 20:55:10 +0200
@@ -24,6 +24,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <time.h>
+#ifdef __FreeBSD__
+#include <pthread.h>
+#endif
 #include "crypt.h"
 
 /* Unix and Unix-like systems share the same makefile, make sure that the
