summaryrefslogtreecommitdiff
path: root/source4/build/pidl/needed.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/needed.pm')
-rw-r--r--source4/build/pidl/needed.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/pidl/needed.pm b/source4/build/pidl/needed.pm
index 301b85e51c..f58d897cb3 100644
--- a/source4/build/pidl/needed.pm
+++ b/source4/build/pidl/needed.pm
@@ -26,13 +26,13 @@ sub NeededFunction($)
sub NeededTypedef($)
{
my $t = shift;
- if (util::has_property($t->{DATA}, "public")) {
+ if (util::has_property($t, "public")) {
$needed{"pull_$t->{NAME}"} = 1;
$needed{"push_$t->{NAME}"} = 1;
}
if ($t->{DATA}->{TYPE} eq "STRUCT") {
- if (util::has_property($t->{DATA}, "gensize")) {
+ if (util::has_property($t, "gensize")) {
$needed{"ndr_size_$t->{NAME}"} = 1;
}