File: fix-math-h-include-header

package info (click to toggle)
lutefisk 1.0.7%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,380 kB
  • sloc: ansic: 24,297; makefile: 16; sh: 15
file content (28 lines) | stat: -rw-r--r-- 568 bytes parent folder | download | duplicates (2)
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 */