From b726f7a1f4a42f096106fe8043b3ddbe5e03cb79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 26 Aug 1997 13:09:40 +0200
Subject: [PATCH] ENOSR doesn't exist on FreeBSD.

Rev: src/modules/spider/dumudp.c:1.12
---
 src/modules/spider/dumudp.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/modules/spider/dumudp.c b/src/modules/spider/dumudp.c
index 826a4764e7..8c99ddbc46 100644
--- a/src/modules/spider/dumudp.c
+++ b/src/modules/spider/dumudp.c
@@ -1,7 +1,7 @@
 #include <config.h>
 
 #include "global.h"
-RCSID("$Id: dumudp.c,v 1.11 1997/08/21 13:59:25 per Exp $");
+RCSID("$Id: dumudp.c,v 1.12 1997/08/26 11:09:40 grubba Exp $");
 #include "interpret.h"
 #include "svalue.h"
 #include "stralloc.h"
@@ -158,7 +158,9 @@ void udp_read(INT32 args)
      case EIO:
       error("I/O error\n");
      case ENOMEM:
+#ifdef ENOSR
      case ENOSR:
+#endif /* ENOSR */
       error("Out of memory\n");
      case ENOTSOCK:
       fatal("reading from non-socket fd!!!\n");
@@ -225,7 +227,9 @@ void udp_sendto(INT32 args)
      case EBADF:
       error("Socket closed\n");
      case ENOMEM:
+#ifdef ENOSR
      case ENOSR:
+#endif /* ENOSR */
       error("Out of memory\n");
      case EINVAL:
      case ENOTSOCK:
-- 
GitLab