63054e
commit d663a483c40939bad58301c256d86da1f3da6cc0
63054e
Author: Miroslav Lichvar <mlichvar@redhat.com>
63054e
Date:   Tue Nov 13 13:16:08 2018 +0100
63054e
63054e
    Fix building with new kernel headers.
63054e
    
63054e
    net_tstamp.h in recent kernel versions requires time.h for clockid_t.
63054e
    
63054e
    Signed-off-by: Miroslav Lichvar <mlichvar@redhat.com>
63054e
63054e
diff --git a/clock.c b/clock.c
63054e
index 9c493c3..8533b39 100644
63054e
--- a/clock.c
63054e
+++ b/clock.c
63054e
@@ -17,11 +17,11 @@
63054e
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
63054e
  */
63054e
 #include <errno.h>
63054e
+#include <time.h>
63054e
 #include <linux/net_tstamp.h>
63054e
 #include <poll.h>
63054e
 #include <stdlib.h>
63054e
 #include <string.h>
63054e
-#include <time.h>
63054e
 #include <sys/queue.h>
63054e
 
63054e
 #include "address.h"
63054e
diff --git a/sk.c b/sk.c
63054e
index e2b1f28..30162eb 100644
63054e
--- a/sk.c
63054e
+++ b/sk.c
63054e
@@ -18,6 +18,7 @@
63054e
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
63054e
  */
63054e
 #include <errno.h>
63054e
+#include <time.h>
63054e
 #include <linux/net_tstamp.h>
63054e
 #include <linux/sockios.h>
63054e
 #include <linux/ethtool.h>
63054e
diff --git a/timemaster.c b/timemaster.c
63054e
index 058678f..00db59f 100644
63054e
--- a/timemaster.c
63054e
+++ b/timemaster.c
63054e
@@ -22,6 +22,7 @@
63054e
 #include <errno.h>
63054e
 #include <libgen.h>
63054e
 #include <limits.h>
63054e
+#include <time.h>
63054e
 #include <linux/net_tstamp.h>
63054e
 #include <net/if.h>
63054e
 #include <signal.h>