patch for backend/umax_pp_low.c under FreeBSD
Note: I have only taken a patch that already is in FreeBSD port of sane-backends and symitted here; I do not claim that this is my work. From https://svnweb.freebsd.org/ports/head/graphics/sane-backends/files/patch-backend_umax__pp__low.c?view=markup&pathrev=517720
--- backend/umax_pp_low.c.orig 2019-10-09 14:50:00 UTC
+++ backend/umax_pp_low.c
@@ -939,6 +939,10 @@ sanei_umax_pp_initPort (int port, char *name)
int found = 0;
int fd;
# endif
+# ifdef HAVE_DEV_PPBUS_PPI_H
+ int found = 0;
+ int fd;
+# endif
# ifdef HAVE_IOPERM
int ectr;
# endif
hope it is helping, not wasting time.