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: ...@@ -806,7 +806,10 @@ public:
case EINTR: case EINTR:
case ENETDOWN: case ENETDOWN:
#ifdef EPROTO
// EPROTO is not defined on OpenBSD.
case EPROTO: case EPROTO:
#endif
case EHOSTDOWN: case EHOSTDOWN:
case EHOSTUNREACH: case EHOSTUNREACH:
case ENETUNREACH: 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