aboutsummaryrefslogtreecommitdiffstats
path: root/xen/tools
diff options
context:
space:
mode:
Diffstat (limited to 'xen/tools')
-rwxr-xr-xxen/tools/compat-build-header.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/tools/compat-build-header.py b/xen/tools/compat-build-header.py
index 6fb795eaaa..c802f60e3c 100755
--- a/xen/tools/compat-build-header.py
+++ b/xen/tools/compat-build-header.py
@@ -3,7 +3,7 @@
import re,sys
pats = [
- [ r"__InClUdE__", r"#include" ],
+ [ r"__InClUdE__(.*)", r"#include\1\n#pragma pack(4)" ],
[ r"\"xen-compat.h\"", r"<public/xen-compat.h>" ],
[ r"(struct|union|enum)\s+(xen_?)?(\w)", r"\1 compat_\3" ],
[ r"@KeeP@", r"" ],