Lines 96 and 98 of sys/unistd.h generate warnings/errors:
- Code: Select all
int _EXFUN(getdtablesize, (void));
int _EXFUN(gethostname, (char *__name, size_t __len));
I've put #ifndef PROTO_BSDSOCKET_H around them here to resolve the problem, although there's probably a better define to use than that. It serves my purposes however.
Please can this be fixed in the SDK.