Hi, the current version of FreeBSD (5.0) has a common header which defines struct thread, so there will be an redefinition and nothing works. I think you shall rename your stuff from thread.h to something like wine_thread to get out of this trouble. Jan