--- config.h.in.orig 2017-05-14 16:27:23 UTC +++ config.h.in @@ -140,3 +140,8 @@ #ifndef __cplusplus #undef inline #endif + +/* FreeBSD >=8 */ +#ifndef ETIME +#define ETIME ETIMEDOUT +#endif