summaryrefslogtreecommitdiff
path: root/tools/umax_pp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/umax_pp.c')
-rw-r--r--tools/umax_pp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/umax_pp.c b/tools/umax_pp.c
index 134320b..7b127e3 100644
--- a/tools/umax_pp.c
+++ b/tools/umax_pp.c
@@ -35,12 +35,16 @@ main (int argc, char **argv)
char *name = NULL;
int scan = 0;
int lamp = -1;
- int i, fd;
+ int i;
int found;
int recover = 0;
int trace = 0;
int maxw, maxh;
+#ifdef HAVE_LINUX_PPDEV_H
+ int fd;
+#endif
+
/* scanning parameters : defaults to preview (75 dpi color, full scan area) */
int gain = 0x0;
int offset = 0x646;