timeval_add(struct timeval* d, const struct timeval* add)
{
#ifndef S_SPLINT_S
	d->tv_sec += add->tv_sec;
	d->tv_usec += add->tv_usec;
	if(d->tv_usec >= 1000000 ) {
		d->tv_usec -= 1000000;
		d->tv_sec++;
	}
#endif
}
timeval_add(struct timeval* d, const struct timeval* add)
{
#ifndef S_SPLINT_S
	d->tv_sec += add->tv_sec;
	d->tv_usec += add->tv_usec;
	if(d->tv_usec >= 1000000 ) {
		d->tv_usec -= 1000000;
		d->tv_sec++;
	}
#endif
}