Skip to content

ss7.c: Redirecting incorrect sys/poll.h to poll.h #6

Description

@InterLinked1

When musl is used, such as on Alpine Linux, there is a warning about redirecting sys/poll.h to poll.h:

gcc -g -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2  -MD -MT ss7.o -MF .ss7.o.d -MP -c -o ss7.o ss7.c
In file included from ss7.c:39:
/usr/include/sys/poll.h:1:2: error: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror=cpp]
    1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
      |  ^~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:176: ss7.o] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions