From 771ecd55f69b0f19833fde82c34ac10cfd567e57 Mon Sep 17 00:00:00 2001 From: huanwen ren Date: Mon, 15 Jan 2018 14:23:55 +0800 Subject: [PATCH] common/time: add time.h for Alpine build We create the Alpine apk package to view "https://github.com/ceph/ceph/blob/master/README.alpine.md", at compile time found the following error: "/src/common/ceph_time.h:209:4: error: invalid use of incomplete type 'struct ceph :: time_detail :: timeval'. Signed-off-by: huanwen ren --- src/common/ceph_time.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/ceph_time.h b/src/common/ceph_time.h index 1d6a6803eb5..b0b34f3dc23 100644 --- a/src/common/ceph_time.h +++ b/src/common/ceph_time.h @@ -17,6 +17,7 @@ #include #include +#include #include "include/assert.h" -- 2.39.5