summaryrefslogtreecommitdiff
path: root/src/basic/memfd-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/memfd-util.h')
-rw-r--r--src/basic/memfd-util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/basic/memfd-util.h b/src/basic/memfd-util.h
index 3ed551fb37..46d4989e4c 100644
--- a/src/basic/memfd-util.h
+++ b/src/basic/memfd-util.h
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
@@ -21,7 +19,10 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-
+#include <inttypes.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <sys/types.h>
int memfd_new(const char *name);
int memfd_new_and_map(const char *name, size_t sz, void **p);