RobertBeckebans/RBDOOM-3-BFG — pull request #51 by DanielGibson (2013-06-23 19:35:15+00:00)
Title: Fix DEBUG_THREADS on FreeBSD

There was a typo in an #include, furthermore FreeBSD has no pthread_getname_np equivalent.

I added Sys_GetThreadName() so the code is a bit cleaner.