id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,branch,branch_author,launchpad_bug
5936,Building sendmsg.so on AIX requires extra define,schlenk,schlenk,"When building the 12.2.0 release with GCC on AIX, the symbols
`CMSG_SIZE` and `CMSG_LEN` come up as undefined.

{{{
 twisted/python/sendmsg.c: In function 'sendmsg_sendmsg':
 twisted/python/sendmsg.c:243: warning: implicit declaration of function 'CMSG_SPACE'
 twisted/python/sendmsg.c:306: warning: implicit declaration of function 'CMSG_LEN'
}}}

Those symbols are only defined when `_LINUX_SOURCE_COMPAT` is defined on AIX.

Adding `-D_LINUX_SOURCE_COMPAT` to `CFLAGS` or in front of the `sys/socket.h` include fixes it.",defect,new,lowest,,core,,aix,,,,
