Package: lutefisk / 1.0.7+dfsg-7

fix-math-h-include-header Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Add #include <math.h> statements.
--- a/src/LutefiskHaggis.c
+++ b/src/LutefiskHaggis.c
@@ -34,6 +34,7 @@
 #include <string.h>
 #include <time.h>
 #include <unistd.h>
+#include <math.h>
 
 /* Haggis headers */
 #include "LutefiskPrototypes.h"
@@ -2275,4 +2276,4 @@
 		}
 	}
 	return;
-}
\ No newline at end of file
+}
--- a/src/LutefiskMain.c
+++ b/src/LutefiskMain.c
@@ -52,6 +52,7 @@
 #include <string.h>
 #include <time.h>
 #include <unistd.h>
+#include <math.h>
 
 #if(defined(__MWERKS__) && __dest_os == __mac_os)
 /* Some Macintosh specific things */