ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/common/standard.h
(Generate patch)

Comparing ray/src/common/standard.h (file contents):
Revision 2.11 by gregl, Fri Jan 16 10:43:54 1998 UTC vs.
Revision 2.12 by gwlarson, Wed Jun 17 13:28:16 1998 UTC

# Line 8 | Line 8
8  
9   #include  <stdio.h>
10  
11 + #include  <sys/types.h>
12 +
13   #include  <fcntl.h>
14  
15   #include  <math.h>
# Line 74 | Line 76 | extern char  errmsg[];                 /* global buffer for error me
76   #define  copystruct(d,s)        (*(d) = *(s))
77   #endif
78  
79 < #ifndef  BSD
79 > #ifdef   BSD
80 > extern long  lseek();
81 > #else
82   #define  bcopy(s,d,n)           (void)memcpy(d,s,n)
83   #define  bzero(d,n)             (void)memset(d,0,n)
84   #define  bcmp(b1,b2,n)          memcmp(b1,b2,n)
85   #define  index                  strchr
86   #define  rindex                 strrchr
87 + extern off_t  lseek();
88   #endif
89 + extern long  ftell();
90  
91   extern char  *sskip(), *sskip2();
92   extern char  *getpath(), *getenv();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines