--- ray/src/hd/rholo4.c 1998/10/06 18:09:49 3.20 +++ ray/src/hd/rholo4.c 1998/11/24 17:05:36 3.22 @@ -16,6 +16,10 @@ static char SCCSid[] = "$SunId$ SGI"; #define HDSUF ".hdi" #endif +#ifndef FNONBLK +#define FNONBLK O_NONBLOCK +#endif + static int inp_flags; static int dpd[3]; static FILE *dpout; @@ -158,6 +162,11 @@ int block; if (msg.nbytes % sizeof(PACKHEAD)) error(INTERNAL, "bad DR_DELSET from display process"); bundle_set(BS_DEL, (PACKHEAD *)buf, msg.nbytes/sizeof(PACKHEAD)); + break; + case DR_VIEWPOINT: /* set target eye position */ + if (msg.nbytes != sizeof(VIEWPOINT)) + error(INTERNAL, "bad DR_VIEWPOINT from display process"); + copystruct(&myeye, (VIEWPOINT *)buf); break; case DR_ATTEN: /* block for priority request */ if (msg.nbytes)