X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Flogin%2Flogind-acl.h;h=5587becca5b770a3f6c5366fc5e5151d9eb145de;hp=72740f5b9571a3bcabf9c965c925e77c1e984eeb;hb=8331cb6e143dc261fd22af9a2a679196822326a9;hpb=19c5f19d69bb5f520fa7213239490c55de06d99d diff --git a/src/login/logind-acl.h b/src/login/logind-acl.h index 72740f5b9..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. @@ -9,22 +6,27 @@ Copyright 2011 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License 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