X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=moebius2.git;a=blobdiff_plain;f=common.h;fp=common.h;h=99793574edf25789f86f9b092ac1d1f4682e4fb7;hp=7e0e86d7622da0698d992bdf94af0dfef3e4676e;hb=97ef96dd318b684d829ac950403582788df427d8;hpb=3c0d58c901fd6f8265dad93f096d2ae03866fc6e diff --git a/common.h b/common.h index 7e0e86d..9979357 100644 --- a/common.h +++ b/common.h @@ -9,6 +9,9 @@ #define _GNU_SOURCE #endif +#include +#include + #include #include #include @@ -23,6 +26,7 @@ #include #include #include +#include #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))