shm: guard fallback on FreeBSD < 13 as well

../src/shm.c:35:13: warning: unused function 'randname' [-Wunused-function]
static void randname(char *buf)
            ^
pull/62/head
Jan Beich 2020-07-27 19:51:46 +00:00 committed by Andri Yngvason
parent 6916780389
commit 72dd8a159c
1 changed files with 1 additions and 1 deletions

View File

@ -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;