Description: Fix bsock compilation problem in *BSD.
Author: =?UTF-8?q?Rados=C5=82aw=20Korzeniewski?= <radekk@inteos.pl>
Origin: upstream commit eea817f035d32221ab46d1a4f95193cd4d6dbda7
--- a/src/lib/bsock.c
+++ b/src/lib/bsock.c
@@ -40,6 +40,10 @@
 
 #define BSOCK_DEBUG_LVL    900
 
+#if !defined(ENODATA)              /* not defined on BSD systems */
+#define ENODATA  EPIPE
+#endif
+
 /* Commands sent to Director */
 static char hello[]    = "Hello %s calling\n";
 
