diff options
-rw-r--r-- | source4/build/pidl/swig.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/pidl/swig.pm b/source4/build/pidl/swig.pm index 68d67b4879..2b8daf40ff 100644 --- a/source4/build/pidl/swig.pm +++ b/source4/build/pidl/swig.pm @@ -704,6 +704,11 @@ sub RewriteHeader($$$) while(<IN>) { + # Rename dom_sid2 to dom_sid as we don't care about the difference + # for the swig wrappers. + + s/dom_sid2/dom_sid/g; + # Copy structure definitions if (/^struct .*? {$/ .. /^\};$/) { @@ -742,5 +747,4 @@ sub RewriteC($$$) close(OUT); } - 1; |