]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/time: add time.h for Alpine build
authorhuanwen ren <ren.huanwen@zte.com.cn>
Mon, 15 Jan 2018 06:23:55 +0000 (14:23 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Mon, 15 Jan 2018 06:23:55 +0000 (14:23 +0800)
commit771ecd55f69b0f19833fde82c34ac10cfd567e57
treea70476629c0598b3ea74ea322916d885d6bad1c7
parent9a9a00cb3de9b7cc2f1129b2d8f6f14e48dba321
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 <ren.huanwen@zte.com.cn>
src/common/ceph_time.h