Index: scan/sane/orblite.c
--- scan/sane/orblite.c.orig
+++ scan/sane/orblite.c
@@ -14,6 +14,8 @@
  extern "C" {
 #endif
 
+#include <dlfcn.h> /* dlclose */
+
 #include "sane.h"           /* SANE API */
 #define DEBUG_NOT_STATIC
 #undef NDEBUG
