open-power / HTX

Apache License 2.0
14 stars 19 forks source link

Fix SIGUNUSED as the signal is deprecated since glibc 2.26 #120

Closed harish-24 closed 6 years ago

harish-24 commented 6 years ago

If glibc version >= 2.26, SIGUNUSED is not available and hence build fails with following. build_ipc.c:59:17: error: ‘SIGUNUSED’ undeclared (first use in this function); did you mean ‘SI_USER’?

define SIGSYS (SIGUNUSED)

This patch fixes defines if it is not defined

Signed-off-by: Harish harish@linux.vnet.ibm.com

harish-24 commented 6 years ago

@avinashkuttan Please let know if anything is needed here. Thanks in advance!