ndr_wsp.h included standalone does not find struct timespec on FreeBSD
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
return result
def generateSourceCode(propMap, outputFile):
- source = "#include \"bin/default/librpc/gen_ndr/ndr_wsp.h\"\n"
+ source = "#include \"replace.h\"\n"
+ source = source + "#include \"bin/default/librpc/gen_ndr/ndr_wsp.h\"\n"
source = source + "#include \"librpc/wsp/wsp_util.h\"\n"
count = 0
for guid in propMap.keys():