[Git][NTPsec/ntpsec][master] time.h was not needed -lrt is.
Amar Takhar
gitlab at mg.gitlab.com
Sun Nov 22 17:24:49 UTC 2015
Amar Takhar pushed to branch master at NTPsec / ntpsec
Commits:
73cfb5c4 by Amar Takhar at 2015-11-22T12:24:20Z
time.h was not needed -lrt is.
- - - - -
2 changed files:
- tests/libntp/tstotv.c
- tests/wscript
Changes:
=====================================
tests/libntp/tstotv.c
=====================================
--- a/tests/libntp/tstotv.c
+++ b/tests/libntp/tstotv.c
@@ -3,8 +3,6 @@
#include "unity.h"
#include "unity_fixture.h"
-#include <time.h>
-
#include "timevalops.h"
TEST_GROUP(tstotv);
=====================================
tests/wscript
=====================================
--- a/tests/wscript
+++ b/tests/wscript
@@ -94,6 +94,6 @@ def build(ctx):
"%s/tests/ntpdig/" % srcnode,
"%s/tests/common/" % srcnode
],
- use = "unity ntp isc M PTHREAD",
+ use = "unity ntp isc M PTHREAD RT",
source = libntp_source,
)
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/73cfb5c48c1d66dd27d5d29008906a46430978d6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20151122/0dcb7650/attachment.html>
More information about the vc
mailing list