ports/graphics/sane-backends/patches/patch-backend_p5_device_c

13 lines
308 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
errno.h header is required now that errno is a per-thread variable.
"undefined symbol 'errno'" at runtime with dlopen()'d modules.
Index: backend/p5_device.c
--- backend/p5_device.c.orig
+++ backend/p5_device.c
@@ -1,3 +1,5 @@
+#include <errno.h>
+
/**
* Description of the Primax PagePartner model
*/