X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-acl.h;h=5587becca5b770a3f6c5366fc5e5151d9eb145de;hb=d2dedf1570f8ab5217aec3b26bf51d1d34accbde;hp=ea34590bd12f2fb29fe1e7c060d2250483fc7fd1;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8;p=elogind.git diff --git a/src/login/logind-acl.h b/src/login/logind-acl.h index ea34590bd..5587becca 100644 --- a/src/login/logind-acl.h +++ b/src/login/logind-acl.h @@ -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. @@ -22,9 +19,14 @@ along with systemd; If not, see . ***/ -#include #include +#include + +#if 0 /// elogind needs the systems udev header +#include "libudev.h" +#else #include +#endif // 0 #ifdef HAVE_ACL @@ -56,5 +58,3 @@ static inline int devnode_acl_all(struct udev *udev, } #endif - -#endif