summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/pidl/idl.yp2
-rw-r--r--source4/pidl/lib/Parse/Pidl/IDL.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp
index cfbc0f200f..57061800b6 100644
--- a/source4/pidl/idl.yp
+++ b/source4/pidl/idl.yp
@@ -511,7 +511,7 @@ sub parse_file($$)
if (! defined $cpp) {
$cpp = "cpp";
}
- my $includes = map { " -I$_" } @$incdirs;
+ my $includes = join('',map { " -I$_" } @$incdirs);
my $data = `$cpp -D__PIDL__$includes -xc $filename`;
$/ = $saved_delim;
diff --git a/source4/pidl/lib/Parse/Pidl/IDL.pm b/source4/pidl/lib/Parse/Pidl/IDL.pm
index d237db7137..85c5b8b828 100644
--- a/source4/pidl/lib/Parse/Pidl/IDL.pm
+++ b/source4/pidl/lib/Parse/Pidl/IDL.pm
@@ -3144,7 +3144,7 @@ sub parse_file($$)
if (! defined $cpp) {
$cpp = "cpp";
}
- my $includes = map { " -I$_" } @$incdirs;
+ my $includes = join('',map { " -I$_" } @$incdirs);
my $data = `$cpp -D__PIDL__$includes -xc $filename`;
$/ = $saved_delim;