summaryrefslogtreecommitdiff
path: root/source4/build/pidl/ndr_header.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/ndr_header.pm')
-rw-r--r--source4/build/pidl/ndr_header.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/build/pidl/ndr_header.pm b/source4/build/pidl/ndr_header.pm
index 04cd57ad7f..6269320115 100644
--- a/source4/build/pidl/ndr_header.pm
+++ b/source4/build/pidl/ndr_header.pm
@@ -213,7 +213,11 @@ sub HeaderType($$$)
return;
}
- pidl typelist::mapType($e->{TYPE});
+ if (util::has_property($e, "charset")) {
+ pidl "char";
+ } else {
+ pidl typelist::mapType($e->{TYPE});
+ }
}
#####################################################################