| 9 |
|
|
| 10 |
|
#include "standard.h" |
| 11 |
|
#include <sys/ioctl.h> |
| 12 |
– |
#ifdef sparc |
| 13 |
– |
#include <sys/conf.h> |
| 14 |
– |
#include <sys/file.h> |
| 15 |
– |
#include <sys/filio.h> |
| 16 |
– |
#endif |
| 12 |
|
#if !defined(FNDELAY) && defined(O_NONBLOCK) |
| 13 |
|
#define FNDELAY O_NONBLOCK |
| 14 |
|
#endif |
| 206 |
|
x11_driver.comin = x11_comin; |
| 207 |
|
x11_driver.comout = x11_comout; |
| 208 |
|
erract[COMMAND].pf = x11_comout; |
| 209 |
+ |
/* doesn't work with raypcalls.c |
| 210 |
|
if (erract[WARNING].pf != NULL) |
| 211 |
|
erract[WARNING].pf = x11_errout; |
| 212 |
+ |
*/ |
| 213 |
|
inpcheck = IC_X11; |
| 214 |
|
} else { |
| 215 |
|
x11_driver.comin = std_comin; |
| 558 |
|
) |
| 559 |
|
{ |
| 560 |
|
unsigned long rval; |
| 561 |
< |
BYTE rgb[3]; |
| 561 |
> |
uby8 rgb[3]; |
| 562 |
|
|
| 563 |
|
map_color(rgb, col); |
| 564 |
|
rval = ourvinfo.red_mask*rgb[RED]/255 & ourvinfo.red_mask; |