mirror of
https://github.com/apache/nuttx.git
synced 2026-02-07 05:12:09 +08:00
Without this POSIX-compatible definition, support for nativesockets module in Nimlang is problematic. .nimcache/(snip)@spure@snativesockets.nim.c: In function 'toInt__pureZnativesockets_69': .nimcache/(snip): error: 'IPPROTO_ICMPV6' undeclared (first use in this function); did you mean 'IPPROTO_ICMP6'? 291 | result = IPPROTO_ICMPV6; | ^~~~~~~~~~~~~~ | IPPROTO_ICMP6 Signed-off-by: Takeyoshi Kikuchi <kikuchi@centurysys.co.jp>