0672e1
diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i
0672e1
index 21aafca..8c48123 100644
0672e1
--- a/bindings/swig/src/auditswig.i
0672e1
+++ b/bindings/swig/src/auditswig.i
0672e1
@@ -39,7 +39,7 @@ signed
0672e1
 #define __attribute(X) /*nothing*/
0672e1
 typedef unsigned __u32;
0672e1
 typedef unsigned uid_t;
0672e1
-%include "/usr/include/linux/audit.h"
0672e1
+%include "../lib/audit.h"
0672e1
 #define __extension__ /*nothing*/
0672e1
 %include <stdint.i>
0672e1
 %include "../lib/libaudit.h"
0672e1
diff --git a/lib/audit.h b/lib/audit.h
0672e1
index 51d7f2b..b2f306d 100644
0672e1
--- a/lib/audit.h
0672e1
+++ b/lib/audit.h
0672e1
@@ -514,7 +514,7 @@ struct audit_rule_data {
0672e1
 	__u32		values[AUDIT_MAX_FIELDS];
0672e1
 	__u32		fieldflags[AUDIT_MAX_FIELDS];
0672e1
 	__u32		buflen;	/* total length of string fields */
0672e1
-	char		buf[];	/* string fields buffer */
0672e1
+	char		buf[0];	/* string fields buffer */
0672e1
 };
0672e1
 
0672e1
 #endif /* _LINUX_AUDIT_H_ */
0672e1
diff --git a/lib/libaudit.h b/lib/libaudit.h
0672e1
index 08b7d22..6b7408c 100644
0672e1
--- a/lib/libaudit.h
0672e1
+++ b/lib/libaudit.h
0672e1
@@ -32,7 +32,7 @@ extern "C" {
0672e1
 #include <stdint.h>
0672e1
 #include <sys/socket.h>
0672e1
 #include <linux/netlink.h>
0672e1
-#include <linux/audit.h>
0672e1
+#include "audit.h"
0672e1
 #include <stdarg.h>
0672e1
 #include <syslog.h>
0672e1