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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/memfd-util.h b/src/basic/memfd-util.h
index 3ed551fb37..2cb404ea81 100644
--- a/src/basic/memfd-util.h
+++ b/src/basic/memfd-util.h
@@ -21,7 +21,8 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-
+#include <sys/types.h>
+#include <inttypes.h>
int memfd_new(const char *name);
int memfd_new_and_map(const char *name, size_t sz, void **p);