Added #define ENODATA and EPROTO to let the backend compiles under OS/2 with

gcc 3.3.5.
merge-requests/1/head
Wittawat Yamwong 2006-05-28 08:40:57 +00:00
rodzic 494b57584b
commit 55c30456b9
2 zmienionych plików z 17 dodań i 0 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2006-05-28 Wittawat Yamwong <wittawat@web.de>
* backend/pixma.h: Added #define ENODATA and EPROTO to let the
backend compiles under OS/2 with gcc 3.3.5.
2006-05-27 Giuseppe Sacco <eppesuig@debian.org>
* Updated italian translation
@ -12,6 +17,7 @@
keys from pixma backand
2006-05-26 Wittawat Yamwong <wittawat@web.de>
* AUTHORS: added Wittawat Yamwong
* configure configure.in doc/Makefile.in doc/sane.man
doc/descriptions/pixma.desc backend/Makefile.in

Wyświetl plik

@ -103,6 +103,8 @@ returns zero or an error (probably \c -ECANCELED).
* - \c -ENOLCK scanner cover is opened
*/
#include <errno.h>
#ifdef HAVE_STDINT_H
# include <stdint.h> /* available in ISO C99 */
#else
@ -112,6 +114,15 @@ 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
#endif
/** \addtogroup API
* @{ */
/** \name Version of the driver */