Everything should now compile with a C89 compiler.
diff --git a/tests/ectest.c b/tests/ectest.c
index a03ad2c..cf935c1 100644
--- a/tests/ectest.c
+++ b/tests/ectest.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <math.h>