summaryrefslogtreecommitdiffstats
path: root/core/equipment.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/equipment.c')
-rw-r--r--core/equipment.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/equipment.c b/core/equipment.c
index 0d4ab5571..19b50ab69 100644
--- a/core/equipment.c
+++ b/core/equipment.c
@@ -1,5 +1,7 @@
+#ifdef __clang__
// Clang has a bug on zero-initialization of C structs.
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
+#endif
/* equipment.c */
#include <stdio.h>