mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 02:08:49 -04:00
14 lines
679 B
Plaintext
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;
|