Skip to content
This repository was archived by the owner on May 4, 2018. It is now read-only.
This repository was archived by the owner on May 4, 2018. It is now read-only.

sunos: broken build #1195

@saghul

Description

@saghul
test/test-pipe-sendmsg.c: In function 'run_test_pipe_sendmsg':
test/test-pipe-sendmsg.c:126:6: error: 'struct msghdr' has no member named 'msg_flags'
test/test-pipe-sendmsg.c:128:6: error: 'struct msghdr' has no member named 'msg_control'
test/test-pipe-sendmsg.c:129:6: error: 'struct msghdr' has no member named 'msg_controllen'
test/test-pipe-sendmsg.c:130:3: error: 'struct msghdr' has no member named 'msg_controllen'
test/test-pipe-sendmsg.c:132:8: warning: assignment makes pointer from integer without a cast [enabled by default]
test/test-pipe-sendmsg.c:135:23: error: 'struct msghdr' has no member named 'msg_controllen'
test/test-pipe-sendmsg.c:139:16: warning: initialization makes pointer from integer without a cast [enabled by default]

The PHP guys seem to be having the same problem: https://bugs.php.net/bug.php?id=66013

Apparently defining _XOPEN_SOURCE to something < 500 would solve it, but I guess we don't currently set it to 500 just because, there must be a reason.

@bnoordhuis any idea?

/cc @indutny

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