~emersion/basu

315664a875ad37bd9cee75af00ab4d1d3edc105e — Sergey Bobrenok 9 months ago a08cf5a master
memfd-util.c: Use F_ADD_SEALS definition from missing.h

uClibc and glibc (until version 2.27, 2018) implementations don't
support F_ADD_SEALS and other F_SEAL_xxx flags.
'missing.h' was removed from 'memfd-util.c' in 37dbb2fcb ("Remove
useless includes").

Signed-off-by: Sergey Bobrenok <bobrofon@gmail.com>
1 files changed, 1 insertions(+), 0 deletions(-)

M src/basic/memfd-util.c
M src/basic/memfd-util.c => src/basic/memfd-util.c +1 -0
@@ 7,6 7,7 @@

#include "alloc-util.h"
#include "memfd-util.h"
#include "missing.h"

int memfd_set_sealed(int fd) {
#if defined(__FreeBSD__) && __FreeBSD__ < 13