5 |
|
* Holodeck display process communication |
6 |
|
*/ |
7 |
|
|
8 |
– |
#include <sys/uio.h> |
9 |
– |
#include <string.h> |
10 |
– |
|
8 |
|
#include "rholo.h" |
9 |
|
#include "rhdisp.h" |
10 |
|
#include "rtprocess.h" |
11 |
+ |
#include <sys/uio.h> |
12 |
+ |
#include <string.h> |
13 |
|
|
14 |
|
#ifndef HDSUF |
15 |
|
#define HDSUF ".hdi" |
186 |
|
case DR_VIEWPOINT: /* set target eye position */ |
187 |
|
if (msg.nbytes != sizeof(VIEWPOINT)) |
188 |
|
error(INTERNAL, "bad DR_VIEWPOINT from display process"); |
189 |
< |
copystruct(&myeye, (VIEWPOINT *)buf); |
189 |
> |
myeye = *((VIEWPOINT *)buf); |
190 |
|
break; |
191 |
|
case DR_ATTEN: /* block for priority request */ |
192 |
|
if (msg.nbytes) |