diff --git a/src/shm.c b/src/shm.c index 3c2c20c..15d51d1 100644 --- a/src/shm.c +++ b/src/shm.c @@ -31,7 +31,7 @@ static inline int memfd_create(const char *name, unsigned int flags) { } #endif -#ifndef HAVE_MEMFD +#if !defined(HAVE_MEMFD) && !defined(__FreeBSD__) static void randname(char *buf) { struct timespec ts;