[njs] Fixed building unit tests after nxt_length() expansion.

Sergey Kandaurov pluknet at nginx.com
Thu Jun 28 11:55:17 UTC 2018


details:   http://hg.nginx.org/njs/rev/4a02df907ed9
branches:  
changeset: 541:4a02df907ed9
user:      Sergey Kandaurov <pluknet at nginx.com>
date:      Thu Jun 28 14:37:25 2018 +0300
description:
Fixed building unit tests after nxt_length() expansion.

diffstat:

 nxt/test/random_unit_test.c |  1 +
 nxt/test/utf8_unit_test.c   |  1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diffs (22 lines):

diff -r 255c79369f59 -r 4a02df907ed9 nxt/test/random_unit_test.c
--- a/nxt/test/random_unit_test.c	Tue Jun 26 18:25:22 2018 +0300
+++ b/nxt/test/random_unit_test.c	Thu Jun 28 14:37:25 2018 +0300
@@ -7,6 +7,7 @@
 #include <nxt_auto_config.h>
 #include <nxt_types.h>
 #include <nxt_clang.h>
+#include <nxt_string.h>
 #include <nxt_stub.h>
 #include <nxt_random.h>
 #include <stdio.h>
diff -r 255c79369f59 -r 4a02df907ed9 nxt/test/utf8_unit_test.c
--- a/nxt/test/utf8_unit_test.c	Tue Jun 26 18:25:22 2018 +0300
+++ b/nxt/test/utf8_unit_test.c	Thu Jun 28 14:37:25 2018 +0300
@@ -7,6 +7,7 @@
 #include <nxt_auto_config.h>
 #include <nxt_types.h>
 #include <nxt_clang.h>
+#include <nxt_string.h>
 #include <nxt_stub.h>
 #include <nxt_utf8.h>
 #include <stdio.h>


More information about the nginx-devel mailing list