aboutsummaryrefslogtreecommitdiffstats
path: root/xen/tools
diff options
context:
space:
mode:
authorkaf24@localhost.localdomain <kaf24@localhost.localdomain>2007-01-28 16:05:07 +0000
committerkaf24@localhost.localdomain <kaf24@localhost.localdomain>2007-01-28 16:05:07 +0000
commit164e5bc9b7c69961ce321ceed81907b7540474ea (patch)
treef1d225bc7fc04f6b126e2eb549f815be2e0a99b6 /xen/tools
parentab8a76bc7636a8492c7b3804ce0483664e3d79b2 (diff)
downloadxen-164e5bc9b7c69961ce321ceed81907b7540474ea.tar.gz
xen-164e5bc9b7c69961ce321ceed81907b7540474ea.tar.bz2
xen-164e5bc9b7c69961ce321ceed81907b7540474ea.zip
Fix compat build for weird solaris gcc target.
Signed-off-by: John Levon <john.levon@sun.com>
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"" ],