aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/xen-foreign/mkheader.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/include/xen-foreign/mkheader.py')
-rw-r--r--tools/include/xen-foreign/mkheader.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/include/xen-foreign/mkheader.py b/tools/include/xen-foreign/mkheader.py
index 3d75a7a4b6..ba6f98cfce 100644
--- a/tools/include/xen-foreign/mkheader.py
+++ b/tools/include/xen-foreign/mkheader.py
@@ -38,7 +38,7 @@ inttypes["x86_64"] = {
};
header["x86_64"] = """
#ifdef __GNUC__
-# define __DECL_REG(name) union { uint64_t r ## name, e ## name; }
+# define __DECL_REG(name) __extension__ union { uint64_t r ## name, e ## name; }
# define __align8__ __attribute__((aligned (8)))
#else
# define __DECL_REG(name) uint64_t r ## name