diff options
Diffstat (limited to 'testsuite/headers')
-rw-r--r-- | testsuite/headers/wscript_build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/headers/wscript_build b/testsuite/headers/wscript_build index f83538ef09..635c8641fc 100644 --- a/testsuite/headers/wscript_build +++ b/testsuite/headers/wscript_build @@ -8,6 +8,11 @@ def build_test_headers(task): f.write('/* generated header test */\n') hlist = task.env.public_headers_list[:] hlist.sort() + # We need to include tdb.h before ntdb.h. It's the rules! + if 'tdb.h' in hlist and 'ntdb.h' in hlist: + hlist.remove('ntdb.h') + hlist.append('ntdb.h') + for h in hlist: f.write('#include "%s"\n' % os.path.normpath(h)) f.close() |