Created attachment 169762 [details]
Fix build error due to nonexistent ETIME
During the exp-run for bug 208158, I noticed text/htdig didn't build :
mut_pthread.c:204:27: error: use of undeclared identifier 'ETIME'
if (ret != 0 && ret != ETIME && ret != ETIMEDOUT)
This is because the ETIME error code does not exist on FreeBSD, it is a Linuxism. Fix the build by putting this part between #ifdefs.
A commit references this bug:
Date: Tue May 10 18:54:21 UTC 2016
New revision: 414954
- Fix build with libc++ 3.8.0 by ignoring ETIME errno which does not exist on FreeBSD
Submitted by: dim@FreeBSD.org