patch to make epsonds backend compile under FreeBSD
Note: I have only taken the patches already in the FreeBSD port and submitted here; this is not my work. From https://svnweb.freebsd.org/ports/head/graphics/sane-backends/files/patch-backend_epsonds.c?revision=517720&view=markup&pathrev=526253
--- backend/epsonds.c.orig 2019-10-09 14:38:54 UTC
+++ backend/epsonds.c
@@ -48,6 +48,8 @@
# include <sys/time.h>
#endif
#include <unistd.h>
+#include <sys/types.h>
+#include <sys/socket.h>
#include "sane/saneopts.h"
#include "sane/sanei_config.h"
hope this helps.