# endif
# endif /* HAS_GETSPNAM_R */
+# ifdef HAS_GMTIME_R
+# endif /* HAS_GMTIME_R */
+
+# ifdef HAS_LOCALTIME_R
+# endif /* HAS_LOCALTIME_R */
+
# ifdef HAS_READDIR_R
/* This is the size Solaris recommends.
* (though we go static, should use pathconf() instead) */
Newx(PL_reentrant_buffer->_spent_buffer, PL_reentrant_buffer->_spent_size, char);
# endif /* HAS_GETSPNAM_R */
+# ifdef HAS_GMTIME_R
+# endif /* HAS_GMTIME_R */
+
+# ifdef HAS_LOCALTIME_R
+# endif /* HAS_LOCALTIME_R */
+
# ifdef HAS_READDIR_R
PL_reentrant_buffer->_readdir_struct = (struct dirent*)safemalloc(PL_reentrant_buffer->_readdir_size);
# endif /* HAS_READDIR_R */
Safefree(PL_reentrant_buffer->_spent_buffer);
# endif /* HAS_GETSPNAM_R */
+# ifdef HAS_GMTIME_R
+# endif /* HAS_GMTIME_R */
+
+# ifdef HAS_LOCALTIME_R
+# endif /* HAS_LOCALTIME_R */
+
# ifdef HAS_READDIR_R
Safefree(PL_reentrant_buffer->_readdir_struct);
# endif /* HAS_READDIR_R */
host_addr = va_arg(ap, char *);
asize = va_arg(ap, Size_t);
anint = va_arg(ap, int);
+ /* socklen_t is what Posix 2001 says this should be */
retptr = gethostbyaddr(host_addr, (socklen_t) asize, anint); break;
case KEY_gethostbyname:
host_name = va_arg(ap, char *);