Welcome! Log In Create A New Profile

Advanced

[njs] Fixed building with Apple clang.

Dmitry Volyntsev
February 04, 2019 04:10AM
details: https://hg.nginx.org/njs/rev/6c66f34a89b9
branches:
changeset: 757:6c66f34a89b9
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Mon Feb 04 11:45:24 2019 +0300
description:
Fixed building with Apple clang.

This closes #89 issue on Github.

diffstat:

njs/njs_shell.c | 1 -
nxt/nxt_time.c | 1 +
2 files changed, 1 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r db4c9c8efff5 -r 6c66f34a89b9 njs/njs_shell.c
--- a/njs/njs_shell.c Mon Feb 04 06:22:51 2019 +0800
+++ b/njs/njs_shell.c Mon Feb 04 11:45:24 2019 +0300
@@ -14,7 +14,6 @@
#include <fcntl.h>
#include <stdlib.h>
#include <sys/stat.h>
-#include <sys/time.h>
#include <locale.h>

#include <readline.h>
diff -r db4c9c8efff5 -r 6c66f34a89b9 nxt/nxt_time.c
--- a/nxt/nxt_time.c Mon Feb 04 06:22:51 2019 +0800
+++ b/nxt/nxt_time.c Mon Feb 04 11:45:24 2019 +0300
@@ -10,6 +10,7 @@
#include <nxt_time.h>

#include <time.h>
+#include <sys/time.h>

uint64_t
nxt_time(void)
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed building with Apple clang.

Dmitry Volyntsev 292 February 04, 2019 04:10AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 211
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready