chiark / gitweb /
Prep v231.2: Send processes the wakeup signal, even if suspending the system failed.
[elogind.git] / src / login / logind-acl.h
index ea34590bd12f2fb29fe1e7c060d2250483fc7fd1..5587becca5b770a3f6c5366fc5e5151d9eb145de 100644 (file)
@@ -1,7 +1,4 @@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
-#ifndef foologindaclhfoo
-#define foologindaclhfoo
+#pragma once
 
 /***
   This file is part of systemd.
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#include <sys/types.h>
 #include <stdbool.h>
+#include <sys/types.h>
+
+#if 0 /// elogind needs the systems udev header
+#include "libudev.h"
+#else
 #include <libudev.h>
+#endif // 0
 
 #ifdef HAVE_ACL
 
@@ -56,5 +58,3 @@ static inline int devnode_acl_all(struct udev *udev,
 }
 
 #endif
-
-#endif