diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2015-09-16 14:18:55 -0400 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2015-09-16 14:18:55 -0400 |
commit | a919a000a0f242970237ea653918970e6c1a1d74 (patch) | |
tree | 93c05cf336fa74ce2623a4b0cc8ee81d82b3437a | |
parent | 07bef881dad1c0da68df62141eca902d3b5c728d (diff) | |
download | lightdm-git-a919a000a0f242970237ea653918970e6c1a1d74.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 1609274a..d8de5c2d 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" |