]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fixed required include on Solaris
authorLinux Karlsson <karlsson@ntp.org>
Fri, 29 Oct 2010 18:41:29 +0000 (11:41 -0700)
committerLinux Karlsson <karlsson@ntp.org>
Fri, 29 Oct 2010 18:41:29 +0000 (11:41 -0700)
bk: 4ccb1559ePRgrV4FOIbyQ6cCxeD3wA

tests/libntp/buftvtots.cpp
tests/libntp/tvtots.cpp

index 09c9e709d6c4c4b9309cacabace876c775701034..bb8a32d35bfa839536445a1fcc4bb60e269669a2 100644 (file)
@@ -4,6 +4,9 @@ extern "C" {
 #include "ntp_unixtime.h"
 };
 
+// Required for Solaris.
+#include <math.h>
+
 class buftvtotsTest : public lfptest {
 };
 
index 06a4323382e2570bdb3ae1511766993583e2334c..6cc84c86b5d112a4538b5ab894c1e6a4a514477c 100644 (file)
@@ -4,6 +4,9 @@ extern "C" {
 #include "ntp_unixtime.h"
 };
 
+// Required on Solaris for ldexp.
+#include <math.h>
+
 class tvtotsTest : public lfptest {
 };