_K_SS_ALIGNSIZE undefined on Fedora 31
Posted: 12 Dec 2019, 11:04
_K_SS_ALIGNSIZE is used in opcua_p_socket.h, but in the latest Fedora distro, this define has been removed from /usr/lib/linux/socket.h.
We fixed this (temporarily) by changing line 80 of opcua_p_socket.h:
} __attribute__ ((aligned((__alignof__ (struct sockaddr *))))); /* force desired alignment */
We fixed this (temporarily) by changing line 80 of opcua_p_socket.h:
} __attribute__ ((aligned((__alignof__ (struct sockaddr *))))); /* force desired alignment */