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