[strace/strace] Error building against musl libc - error: "__UAPI_DEF_IN6_ADDR_ALT" redefined (#177)

Dmitry V. Levin notifications at github.com
Mon Mar 29 22:04:40 UTC 2021


The order of includes is correct:
```
#include <netinet/in.h>
#include <linux/if_bridge.h>
```

The idea was to let `<netinet/in.h>` define `__UAPI_DEF_`* macros and let `<linux/if_bridge.h>` define appropriate types depending on these `__UAPI_DEF_`* definitions.

Unfortunately, it looks like the attempt to coordinate between glibc, musl, and linux has failed with `<linux/if_bridge.h>`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/issues/177#issuecomment-809743768
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20210329/2d8727c6/attachment.htm>


More information about the Strace-devel mailing list