#include #ifdef __GLIBC__ #if !__GLIBC_PREREQ(2, 27) #include #include #include extern int memfd_create(const char *name, unsigned int flags); int memfd_create(const char* name, unsigned int flags) { return syscall(SYS_memfd_create, name, flags); } #endif #endif