chaosloth
22-09-2005, 04:08
Alexei/James,
The sysinfo libary would not complie on my Mac, turns out that PACKETSZ is defined as NS_PACKETSZ in namser.h
It's hack but hey maybe you know a better way ...
Below is a diff of ./src/libs/sysinfo/sysinfo.c
1952,1954d1951
< #ifdef NS_PACKETSZ
< char respbuf[NS_PACKETSZ];
< #else
1956d1952
< #endif
Any chance this could be included in furture release ?
-Ta
Chris.
The sysinfo libary would not complie on my Mac, turns out that PACKETSZ is defined as NS_PACKETSZ in namser.h
It's hack but hey maybe you know a better way ...
Below is a diff of ./src/libs/sysinfo/sysinfo.c
1952,1954d1951
< #ifdef NS_PACKETSZ
< char respbuf[NS_PACKETSZ];
< #else
1956d1952
< #endif
Any chance this could be included in furture release ?
-Ta
Chris.