From 9fbb6c0e72ea281fe98565cb6a1fb80ce7fd1274 Mon Sep 17 00:00:00 2001 From: Henning Geinitz Date: Sun, 11 Jun 2006 21:39:54 +0000 Subject: [PATCH] Fixed compilation problem on *BSD (ENODATA not defined). --- ChangeLog | 2 ++ backend/pixma.h | 12 +++++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index f98b4ed8c..67ba4eb81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,8 @@ (minimal) support for Nikon LS 50 ED, Coolscan V ED and (probably) Super Coolscan LS-5000 ED (patch from Giuseppe Sacco ). + * backend/pixma.h: Fixed compilation problem on *BSD (ENODATA not + defined). 2006-06-11 Eddy De Greef diff --git a/backend/pixma.h b/backend/pixma.h index 5aab5396f..8cd3d3629 100644 --- a/backend/pixma.h +++ b/backend/pixma.h @@ -113,13 +113,11 @@ typedef u_int16_t uint16_t; typedef u_int32_t uint32_t; #endif /* HAVE_STDINT_H */ -#ifdef HAVE_OS2_H -# ifndef EPROTO -# define EPROTO 10000 -# endif -# ifndef ENODATA -# define ENODATA 10001 -# endif +#ifndef EPROTO +# define EPROTO 10000 +#endif +#ifndef ENODATA +# define ENODATA 10001 #endif /** \addtogroup API