Commit 156efd49 authored by Steven Dee's avatar Steven Dee Committed by Steven Dee

Workaround nonexistent EPROTO on OpenBSD

Fixes #221.
parent 5413038b
......@@ -806,7 +806,10 @@ public:
case EINTR:
case ENETDOWN:
#ifdef EPROTO
// EPROTO is not defined on OpenBSD.
case EPROTO:
#endif
case EHOSTDOWN:
case EHOSTUNREACH:
case ENETUNREACH:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment