chiark
/
gitweb
/
~ian
/
moebius2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
compiles and most output facets are right; needs debugging
[moebius2.git]
/
common.h
diff --git
a/common.h
b/common.h
index 7e0e86d7622da0698d992bdf94af0dfef3e4676e..7e70a752666e8ad45ee485451bbb13b72d2cd6cb 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-9,6
+9,9
@@
#define _GNU_SOURCE
#endif
#define _GNU_SOURCE
#endif
+#include <sys/types.h>
+#include <sys/stat.h>
+
#include <math.h>
#include <float.h>
#include <limits.h>
#include <math.h>
#include <float.h>
#include <limits.h>
@@
-18,11
+21,13
@@
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
+#include <stdint.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
#include <gsl/gsl_vector.h>
#include <gsl/gsl_matrix.h>
#include <gsl/gsl_blas.h>
#include <gsl/gsl_linalg.h>
+#include <gsl/gsl_interp.h>
#define D3 3
#define D3 3
@@
-36,6
+41,7
@@
double dotprod(const double a[D3], const double b[D3]);
void flushoutput(void);
void diee(const char *what);
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))
void libdie(const char *lib, int l, const char *str);
#define XA(w) ((w) ? (void)0 : libdie("X", __LINE__, #w))