diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2015-09-16 14:17:42 -0400 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2015-09-16 14:17:42 -0400 |
commit | b4ff0802e380c634369bb95bf98b9e061698092e (patch) | |
tree | f0c19587619048af579e58eded66e8ebeb581155 | |
parent | f042ac9978f53261ed9114016cef7a1caf6e4cf3 (diff) | |
download | lightdm-git-b4ff0802e380c634369bb95bf98b9e061698092e.tar.gz |
Only include libaudit header if using it
-rw-r--r-- | src/session-child.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/session-child.c b/src/session-child.c index f84e6c7b..7ea074b4 100644 --- a/src/session-child.c +++ b/src/session-child.c @@ -16,7 +16,10 @@ #include <utmp.h> #include <utmpx.h> #include <sys/mman.h> + +#if HAVE_LIBAUDIT #include <libaudit.h> +#endif #include "configuration.h" #include "session-child.h" |