chiark / gitweb /
basic/util: check return value of dup2 in fork_agent()
[elogind.git] / src / basic / memfd-util.h
index 1b153f9a9bc9ffb212069f3d3e340e35727a0609..419d8997939f9141cfa2a464778e20de8fa34fe2 100644 (file)
@@ -1,5 +1,3 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
 #pragma once
 
 /***
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <sys/types.h>
 #include <inttypes.h>
+#include <stddef.h>
+#include <stdint.h>
+#include <sys/types.h>
 
 int memfd_new(const char *name);
 #if 0 /// UNNEEDED by elogind