chiark / gitweb /
interpolate and various sizes build
[moebius2.git] / common.h
index 7e0e86d7622da0698d992bdf94af0dfef3e4676e..99793574edf25789f86f9b092ac1d1f4682e4fb7 100644 (file)
--- a/common.h
+++ b/common.h
@@ -9,6 +9,9 @@
 #define _GNU_SOURCE
 #endif
 
+#include <sys/types.h>
+#include <sys/stat.h>
+
 #include <math.h>
 #include <float.h>
 #include <limits.h>
@@ -23,6 +26,7 @@
 #include <gsl/gsl_matrix.h>
 #include <gsl/gsl_blas.h>
 #include <gsl/gsl_linalg.h>
+#include <gsl/gsl_interp.h>
 
 #define D3 3
 
@@ -36,6 +40,7 @@ double dotprod(const double a[D3], const double b[D3]);
 
 void flushoutput(void);
 void diee(const char *what);
+void fail(const char *emsg);
 
 void libdie(const char *lib, int l, const char *str);
 #define XA(w) ((w) ? (void)0 : libdie("X", __LINE__, #w))