Andrew Boyson / net

Dependents:   oldheating gps motorhome heating

Revision:
134:3aa1bc602b19
Parent:
125:8c84daac38ab
Child:
138:5ff0c7069300
--- a/udp/ntp/ntpserver.c	Wed Mar 20 11:20:44 2019 +0000
+++ b/udp/ntp/ntpserver.c	Fri Mar 22 08:07:59 2019 +0000
@@ -1,11 +1,11 @@
 #include <stdint.h>
+#include <stdlib.h>
 
 #include "clk.h"
 #include "clkgov.h"
 #include "clktime.h"
 #include "clkutc.h"
 #include "ntptimestamp.h"
-#include "clkutc.h"
 #include "ntp.h"
 #include "action.h"
 #include "log.h"
@@ -73,7 +73,7 @@
         if (NetTraceStack) traceback();
         NtpLogHeader(pHeaderRx);
     }
-    
+
     uint64_t refNtp    = getRefNtp();
     uint64_t nowNtp    = NtpTimeStampFromClkTime(ClkTimeGet()); //use the costly time at this instant
     int      stratum   = getStratum();