$OpenBSD: patch-backend_genesys_low_c,v 1.2 2017/05/23 13:00:46 ajacoutot Exp $

errno.h header is required now that errno is a per-thread variable.
"undefined symbol 'errno'" at runtime with dlopen()'d modules.

Index: backend/genesys_low.c
--- backend/genesys_low.c.orig
+++ backend/genesys_low.c
@@ -1,3 +1,5 @@
+#include <errno.h>
+
 /* sane - Scanner Access Now Easy.
 
    Copyright (C) 2010-2013 Stéphane Voltz <stef.dev@free.fr>
