2013-09-26 17:14:40 +02:00

14 lines
679 B
Plaintext

$NetBSD: patch-af,v 1.1 2006/05/12 07:44:26 joerg Exp $
--- socket++/sockstream.cpp.orig 2006-05-12 07:23:32.000000000 +0000
+++ socket++/sockstream.cpp
@@ -245,7 +245,7 @@ bool sockerr::benign () const
case EWOULDBLOCK:
// On FreeBSD (and probably on Linux too)
// EAGAIN has the same value as EWOULDBLOCK
-#if !defined(__linux__) && !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__)) // LN
+#if !defined(__linux__) && !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__) || defined(__DragonFly__)) // LN
case EAGAIN:
#endif
return true;