--- audit-2.4.5/src/ausearch-parse.c.orig	2015-12-18 14:20:58.000000000 -0500
+++ audit-2.4.5/src/ausearch-parse.c	2016-04-14 12:44:07.553302235 -0400
@@ -38,6 +38,13 @@
 #include "ausearch-lookup.h"
 #include "ausearch-parse.h"
 
+#ifndef AUDIT_BPRM_FCAPS
+#define AUDIT_BPRM_FCAPS	1321	/* Information about fcaps increasing perms */
+#endif
+#ifndef AUDIT_CAPSET
+#define AUDIT_CAPSET		1322	/* Record showing argument to sys_capset */
+#endif
+
 #define NAME_OFFSET 36
 static const char key_sep[2] = { AUDIT_KEY_SEPARATOR, 0 };
 
--- audit-2.5.1/lib/errtab.h.orig	2016-04-13 15:15:34.000000000 -0400
+++ audit-2.5.1/lib/errtab.h	2016-04-28 15:52:33.479113653 -0400
@@ -154,5 +154,7 @@ _S(EKEYREJECTED,	"EKEYREJECTED"		)
 _S(EOWNERDEAD,		"EOWNERDEAD"		)
 _S(ENOTRECOVERABLE,	"ENOTRECOVERABLE"	)
 _S(ERFKILL,		"ERFKILL"		)
+#ifdef EHWPOISON
 _S(EHWPOISON,		"EHWPOISON"		)
+#endif
 
