Code

Include config.h in source files.
[sysdb.git] / t / libsysdb_net_test.c
index aede0d6c00d2fd4ee0be1ca0145ed277848e5c70..85ec83c9efb675aae909e6134b2637ee2798fae8 100644 (file)
  * testing component involving networking operations
  */
 
+#if HAVE_CONFIG_H
+#      include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include "libsysdb_test.h"
 
 #include <check.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 int
 main(void)
@@ -48,6 +53,8 @@ main(void)
 #endif /* HAVE_FOPENCOOKIE */
        };
 
+       putenv("TZ=UTC");
+
        for (i = 0; i < SDB_STATIC_ARRAY_LEN(creators); ++i) {
                SRunner *sr;
                Suite *s;