From: huanwen ren Date: Mon, 15 Jan 2018 06:23:55 +0000 (+0800) Subject: common/time: add time.h for Alpine build X-Git-Tag: v13.0.2~482^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=771ecd55f69b0f19833fde82c34ac10cfd567e57;p=ceph.git 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 --- diff --git a/src/common/ceph_time.h b/src/common/ceph_time.h index 1d6a6803eb5b..b0b34f3dc23c 100644 --- a/src/common/ceph_time.h +++ b/src/common/ceph_time.h @@ -17,6 +17,7 @@ #include #include +#include #include "include/assert.h"