Add definition for BUILD_BUG_ON_ZERO (needed by host build)
It might be missing from /usr/include/linux/kernel.h in newer releases.
BUG: 6337628
Change-Id: I57daf3163b78929c3f45b6914f2b351fba22b11f
diff --git a/util/parse-options.h b/util/parse-options.h
index b22f87d..2df785c 100644
--- a/util/parse-options.h
+++ b/util/parse-options.h
@@ -6,6 +6,10 @@
#include "include/linux/kernel.h"
#else
#include <linux/kernel.h>
+/* BUILD_BUG_ON_ZERO is missing in new glibc headers */
+#ifndef BUILD_BUG_ON_ZERO
+#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
+#endif
#endif
/* ANDROID_CHANGE_END */
#include <stdbool.h>