Index: modcargo-crates/libfuzzer-sys-0.4.13/libfuzzer/FuzzerUtilLinux.cpp
--- modcargo-crates/libfuzzer-sys-0.4.13/libfuzzer/FuzzerUtilLinux.cpp.orig
+++ modcargo-crates/libfuzzer-sys-0.4.13/libfuzzer/FuzzerUtilLinux.cpp
@@ -18,6 +18,7 @@
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <unistd.h>
+#include <pthread_np.h>
 
 
 namespace fuzzer {
@@ -42,7 +43,7 @@ void DiscardOutput(int Fd) {
 
 void SetThreadName(std::thread &thread, const std::string &name) {
 #if LIBFUZZER_LINUX || LIBFUZZER_FREEBSD
-  (void)pthread_setname_np(thread.native_handle(), name.c_str());
+  (void)pthread_set_name_np(thread.native_handle(), name.c_str());
 #elif LIBFUZZER_NETBSD
   (void)pthread_setname_np(thread.native_handle(), "%s", const_cast<char *>(name.c_str()));
 #endif
