summaryrefslogtreecommitdiff
path: root/backend/pieusb_buffer.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-02 17:13:01 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-02-02 17:13:01 +0100
commitffa8801644a7d53cc1c785e3450f794c07a14eb0 (patch)
tree8d72a18a9a08b9151d12badcb1c78ce06a059f62 /backend/pieusb_buffer.h
parent1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (diff)
New upstream version 1.0.29upstream/1.0.29
Diffstat (limited to 'backend/pieusb_buffer.h')
-rw-r--r--backend/pieusb_buffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/pieusb_buffer.h b/backend/pieusb_buffer.h
index 3724a40..282595a 100644
--- a/backend/pieusb_buffer.h
+++ b/backend/pieusb_buffer.h
@@ -48,6 +48,10 @@
#include "pieusb.h"
#include "../include/sane/sanei_ir.h"
+#ifndef L_tmpnam
+#define L_tmpnam 20
+#endif
+
struct Pieusb_Read_Buffer
{
SANE_Uint* data; /* image data - always store as 16 bit values; mmap'ed */