summaryrefslogtreecommitdiff
path: root/net/socket++/patches/patch-af
blob: dd867102c3dd3255860ae34599c2538e8b58bb93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$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;