summaryrefslogtreecommitdiff
path: root/sci-calculators/tiemu/files/tiemu-3.03-fix-ftbfs-with-customized-abort-function.patch
blob: effcbc12aea72347bd947068f169a2d89fc86db1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Fix FTBFS error: '"abort" passed 1 arguments, but takes just 0'
Author: Andreas B. Mundt <andi@debian.org> with help from #debian-science (jokva).
Last-Update: 2018-05-19

--- a/src/core/uae/sysdeps.h
+++ b/src/core/uae/sysdeps.h
@@ -33,6 +33,7 @@
 #define _GNU_SOURCE
 #endif
 #include <limits.h>
+#include <stdlib.h>
 
 // Make sure that the character types take exactly 1 byte.
 #if UCHAR_MAX != 0xFF