We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2688

Summary: failure to build test/loopwavequeue.c on Linux
Product: SDL Reporter: Benoit Pierre <benoit.pierre>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: gabomdq
Version: 2.0.3   
Hardware: x86_64   
OS: Linux   
Attachments: patch to fix test/loopwavequeue.c compilation

Description Benoit Pierre 2014-08-17 10:27:48 UTC
Created attachment 1826 [details]
patch to fix test/loopwavequeue.c compilation

Compiler output:

loopwavequeue.c: In function ‘main’:
loopwavequeue.c:81:12: error: ‘SIGINT’ undeclared (first use in this function)
     signal(SIGINT, poked);
            ^
loopwavequeue.c:81:12: note: each undeclared identifier is reported only once for each function it appears in
loopwavequeue.c:85:12: error: ‘SIGTERM’ undeclared (first use in this function)
     signal(SIGTERM, poked);
            ^
The attached patch fix this by moving the conditional signal.h include after the SDL.h include.
Comment 1 Gabriel Jacobo 2014-10-16 13:09:19 UTC
This seems to have been fixed at some point.