aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/iemlib2/makefile2
-rw-r--r--src/iemlib2/sigm2f.c1
-rw-r--r--src/iemlib2/splitfilename.c1
3 files changed, 3 insertions, 1 deletions
diff --git a/src/iemlib2/makefile b/src/iemlib2/makefile
index d4d27a9..a463e02 100644
--- a/src/iemlib2/makefile
+++ b/src/iemlib2/makefile
@@ -11,7 +11,7 @@ LIB = -ldl -lm -lpthread
CFLAGS = -DPD -DUNIX -W -Werror -Wno-unused \
-Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer \
- -DDL_OPEN
+ -DDL_OPEN -fPIC
SYSTEM = $(shell uname -m)
diff --git a/src/iemlib2/sigm2f.c b/src/iemlib2/sigm2f.c
index eb410c6..0309497 100644
--- a/src/iemlib2/sigm2f.c
+++ b/src/iemlib2/sigm2f.c
@@ -13,6 +13,7 @@ iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <math.h>
/* ----------- m2f~ ----------- */
/* --------- obsolete --------- */
diff --git a/src/iemlib2/splitfilename.c b/src/iemlib2/splitfilename.c
index 20330e5..5f009c8 100644
--- a/src/iemlib2/splitfilename.c
+++ b/src/iemlib2/splitfilename.c
@@ -13,6 +13,7 @@ iemlib2 written by Thomas Musil, Copyright (c) IEM KUG Graz Austria 2000 - 2005
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
+#include <math.h>
/* ----------------------- splitfilename -------------------------- */
/* -- splits a symbol into 2 parts (path + file) at the position -- */