]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix bsock compilation problem in *BSD.
authorRadosław Korzeniewski <radekk@inteos.pl>
Tue, 14 Aug 2018 14:46:50 +0000 (16:46 +0200)
committerRadosław Korzeniewski <radekk@inteos.pl>
Tue, 14 Aug 2018 14:48:27 +0000 (16:48 +0200)
bacula/src/lib/bsock.c

index a6e4d98c3837932967466f20454f3b50dc4615f9..c6bed981de8da11dbb0f2f607e03cd49c5699840 100644 (file)
 
 #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";