0001-lock.c-Don-t-include-pthread.h-if-NO_THREADS-is-defi.patch 0002-CMake-Link-with-librt-if-found.patch