using more than 1 interrupt

i am working on beaglebone ai and using ubuntu 18.04. I had tried use two interrupts one for uart and another for ethernet. I had created the interrupts using sigaction for both but it is accepting only one interrupt which i had declared secondly. Is there any way in which i can use both interrupts.
I had tried using interrupt.h but in my includes there is no such file to use beacause of that i had used the sigaction in signal.h.
thanks and regards,