X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fshared%2Faudit.h;h=3df9cc6273380b297ff48dddd717d2de6e87ad1d;hp=f2740bc42ca2a1d5604e150f052dab847e803dff;hb=1ddb4eb804cbff5384a8f5f95276e81d3e9c34ce;hpb=5430f7f2bc7330f3088b894166bf3524a067e3d8 diff --git a/src/shared/audit.h b/src/shared/audit.h index f2740bc42..3df9cc627 100644 --- a/src/shared/audit.h +++ b/src/shared/audit.h @@ -1,7 +1,6 @@ /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ -#ifndef fooaudithfoo -#define fooaudithfoo +#pragma once /*** This file is part of systemd. @@ -22,8 +21,11 @@ along with systemd; If not, see . ***/ -#include "capability.h" +#include +#include +#include int audit_session_from_pid(pid_t pid, uint32_t *id); int audit_loginuid_from_pid(pid_t pid, uid_t *uid); -#endif + +bool use_audit(void);