xpenguins/xpenguins-c99.patch

15 lines
445 B
Diff

Include <stdlib.h> for the exit function, to avoid build problems with
future compilers.
diff --git a/src/toon_signal.c b/src/toon_signal.c
index 7135f0efcb4810d0..c093584cf6d88ae6 100644
--- a/src/toon_signal.c
+++ b/src/toon_signal.c
@@ -16,6 +16,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <signal.h>
+#include <stdlib.h>
#include "toon.h"
/* SIGNAL AND ERROR HANDLING FUNCTIONS */