From 07ba233e9e1f185f8a71eb3e66ce70ccd2a3f7d3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 18 Jun 2015 13:41:09 +0200 Subject: audit: make sure to include libaudit-defined audit events in table This change hooks up $(audit_list_includes) that was already defined since the beginning of the audit type list, but never actually made use of. It thus completes 4733607eec54034d2083534ebff2dad89c28574e. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7dc57b18da..e3962cc81f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1283,14 +1283,14 @@ src/basic/cap-from-name.h: src/basic/cap-from-name.gperf $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GPERF)$(GPERF) -L ANSI-C -t --ignore-case -N lookup_capability -H hash_capability_name -p -C <$< >$@ -audit_list_includes = -include linux/audit.h missing.h +audit_list_includes = -include linux/audit.h -include missing.h if HAVE_AUDIT audit_list_includes += -include libaudit.h endif src/journal/audit_type-list.txt: $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM -include linux/audit.h -include missing.h - $@ + $(AM_V_GEN)$(CPP) $(CFLAGS) $(AM_CPPFLAGS) $(CPPFLAGS) -dM $(audit_list_includes) - $@ src/journal/audit_type-to-name.h: src/journal/audit_type-list.txt $(AM_V_at)$(MKDIR_P) $(dir $@) -- cgit v1.2.3-54-g00ecf