Correct use HAVE_HSTRERROR
[tedtools.git] / connection.h
index 572e357..9aba67f 100644 (file)
@@ -166,5 +166,10 @@ void TC_addConnection(PoolConnection *pool, TC_Connection *c);
 void TC_deleteConnectionByN(PoolConnection *pool, int n);
 void TC_deleteConnectionByC(PoolConnection *pool, TC_Connection *c);
 
+#ifndef HAVE_HSTRERROR
+#define hstrerror      strerror
+#define h_errno                errno
+#endif
+
 #endif