summaryrefslogtreecommitdiff
path: root/source4/build/pidl/util.pm
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl/util.pm')
-rw-r--r--source4/build/pidl/util.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/build/pidl/util.pm b/source4/build/pidl/util.pm
index fcc6c54216..67f97e647e 100644
--- a/source4/build/pidl/util.pm
+++ b/source4/build/pidl/util.pm
@@ -150,6 +150,10 @@ sub has_property($$)
my($e) = shift;
my($p) = shift;
+ if (!defined $e->{PROPERTIES}) {
+ return;
+ }
+
my($props) = $e->{PROPERTIES};
foreach my $d (@{$props}) {