diff --git a/lzma-sys/config.h b/lzma-sys/config.h index 9e3e9d69..5d3c5a28 100644 --- a/lzma-sys/config.h +++ b/lzma-sys/config.h @@ -39,7 +39,7 @@ #define MYTHREAD_POSIX 1 #endif -#if defined(__sun) +#if defined(__sun) || defined(__FreeBSD__) #define HAVE_CLOCK_GETTIME 1 #define HAVE_DECL_CLOCK_MONOTONIC 1 #endif