summaryrefslogtreecommitdiff
path: root/backend/pieusb_buffer.h
diff options
context:
space:
mode:
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 */