Choose between local tevent_status.h header file and installed one
authorJulien Kerihuel <j.kerihuel@openchange.org>
Wed, 12 May 2010 10:55:56 +0000 (12:55 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 12 May 2010 17:30:56 +0000 (19:30 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm

index 189eb9e8f0097428078d3cb46e303a4e2e08307a..81f84777705f63fdb974b39be9ac72a55491d151 100644 (file)
@@ -377,7 +377,7 @@ sub Parse($$$$)
                $res .= "#include <core/ntstatus.h>\n";
        }
        $res .= "#include <tevent.h>\n";
-       $res .= "#include \"lib/util/tevent_ntstatus.h\"\n";
+       $res .= choose_header("lib/util/tevent_ntstatus.h", "util/tevent_ntstatus.h")."\n";
        $res .= "#include \"$ndr_header\"\n";
        $res .= "#include \"$client_header\"\n";
        $res .= "\n";