aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/xen-foreign/mkchecker.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/xen-foreign/mkchecker.py')
-rw-r--r--tools/include/xen-foreign/mkchecker.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/include/xen-foreign/mkchecker.py b/tools/include/xen-foreign/mkchecker.py
index 66c17b19e9..264bf799b5 100644
--- a/tools/include/xen-foreign/mkchecker.py
+++ b/tools/include/xen-foreign/mkchecker.py
@@ -19,6 +19,9 @@ f.write('''
#include <stdlib.h>
#include <stddef.h>
#include <inttypes.h>
+
+#define __anonymous_struct __extension__ struct
+#define __anonymous_union __extension__ union
''');
for a in archs: