[time-sync] fix build issue with time sync enabled (#3167)

Also enable time sync in a travis check.
This commit is contained in:
Shu Chen
2018-10-16 19:58:34 -07:00
committed by Jonathan Hui
parent 0b18d8ffad
commit 71b90a6764
7 changed files with 16 additions and 9 deletions
+1
View File
@@ -36,6 +36,7 @@
#define OPENTHREAD_NETWORK_TIME_H_
#include <openthread/error.h>
#include <openthread/instance.h>
#ifdef __cplusplus
extern "C" {