meta-openembedded/meta-oe/recipes-connectivity/linuxptp/linuxptp/0003-include-missing-time.h-for-time_t.patch
Khem Raj a8b542f399 linuxptp: Upgrade to 1.8
Fix build on musl along way

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:58:50 +02:00

27 lines
561 B
Diff

From b36cafdbcbe2193f5b669e703c608e19e23f80a3 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Sat, 15 Jul 2017 11:16:42 -0700
Subject: [PATCH 3/4] include missing time.h for time_t
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
util.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util.h b/util.h
index e912f19..3c634c1 100644
--- a/util.h
+++ b/util.h
@@ -22,7 +22,7 @@
#include "ddt.h"
#include "ether.h"
-
+#include <time.h>
/**
* Table of human readable strings, one for each port state.
*/
--
2.13.3