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