trivial: Move the sys/mman.h include to the right #ifdef

This commit is contained in:
Richard Hughes 2021-05-25 20:38:29 +01:00
parent 82cb7acb13
commit 66482687f7

View File

@ -15,10 +15,13 @@
#include <glib/gstdio.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/mman.h>
#include <unistd.h>
#endif
#ifdef HAVE_MEMFD_CREATE
#include <sys/mman.h>
#endif
#include <locale.h>
#include <string.h>
#ifdef HAVE_UTSNAME_H