]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/memfd-util.c
Add SPDX license identifiers to source files under the LGPL
[thirdparty/systemd.git] / src / basic / memfd-util.c
index 8c8cc78ebf9bcac2b15cbaffe86a34e4bd400376..e7eb895462382d14d89ac279cc13fd3bba2a8456 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
 /***
   This file is part of systemd.
 
@@ -21,7 +22,7 @@
 #include <fcntl.h>
 #include <sys/stat.h>
 #include <unistd.h>
-#ifdef HAVE_LINUX_MEMFD_H
+#if HAVE_LINUX_MEMFD_H
 #include <linux/memfd.h>
 #endif
 #include <stdio.h>