[ntpsec-main commit] Fix the struct type test to have lists of headers.

Chris Johns chrisj at ntpsec.org
Sat Nov 14 06:25:45 UTC 2015


Module:    ntpsec-main
Branch:    master
Commit:    94ca93ded144bc2541237f00782ee5ae7b23be93
Changeset: http://git.ntpsec.org//commit/?id=94ca93ded144bc2541237f00782ee5ae7b23be93

Author:    Chris Johns <chrisj at ntpsec.org>
Date:      Sat Nov 14 17:25:19 2015 +1100

Fix the struct type test to have lists of headers.

---

 pylib/configure.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pylib/configure.py b/pylib/configure.py
index 2ae41a2..da89935 100644
--- a/pylib/configure.py
+++ b/pylib/configure.py
@@ -132,8 +132,8 @@ def cmd_configure(ctx):
 		ctx.check_type(f, h)
 
 	structures = (
-		("struct timex", "sys/timex.h"),
-		("struct ntptimeval", "sys/timex.h"),
+		("struct timex", ["sys/timex.h"]),
+		("struct ntptimeval", ["sys/timex.h"]),
 		)
 	for (s, h) in structures:
 		ctx.check_type(s, h)



More information about the vc mailing list