summaryrefslogtreecommitdiff
path: root/backend/pieusb_buffer.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-03-30 21:30:45 +0200
commitee770c2346eb37e0dcb8b6cf3eaacf3d8efd6bbc (patch)
tree58f05092be1a17a939e861f8cadcda1b6ca2ecef /backend/pieusb_buffer.h
parent0da9e21872802cfc6e975b1ebaf9efb9e5934d84 (diff)
parentfef76e17ed4c607ea73b81279f9ef1d7121be900 (diff)
Merge branch 'release/experimental/1.0.29-1_experimental1'experimental/1.0.29-1_experimental1
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 */