Skip to content

timerfd.h only includes a forward declaration of struct itimerspec #44

@jeremyhu

Description

@jeremyhu

Please define the struct in the header. Failure to do so results in build failures in clients such as Wayland:

../src/event-loop.c:261:20: error: variable has incomplete type 'struct itimerspec'
        struct itimerspec its;
                          ^
/opt/X11/include/libepoll-shim/sys/timerfd.h:17:8: note: forward declaration of 'struct itimerspec'
struct itimerspec;
       ^
../src/event-loop.c:272:20: error: variable has incomplete type 'struct itimerspec'
        struct itimerspec its;
                          ^
/opt/X11/include/libepoll-shim/sys/timerfd.h:17:8: note: forward declaration of 'struct itimerspec'
struct itimerspec;
       ^
2 errors generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions