I'm trying to compile some code that has uses sig_t but the version of signal.h that gcc 14.2.0 is using doesn't define sig_t, (although the version in /usr/include does.)
I'm sure this is pilot error but I have no idea what I need to do to fix it. Here's a very short example of the problem.
What am I missing?
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.