Skip to content

Can't compile on ubuntu 18.04 #34

Description

@naren-nallapareddy

I tried make in ubuntu 18.04, I get error

include/util_time.h:6:19: error: field ‘tic’ has incomplete type
struct timespec tic;
^~~
include/util_time.h:7:19: error: field ‘toc’ has incomplete type
struct timespec toc;

It seems I am not able to use struct timespec, I converted it into timeval and it works. Is there a reason timespec doesn't work in ubuntu?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbug reportlinuxlinux operating system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions