diff --git a/libraries/liblutil/debug.c b/libraries/liblutil/debug.c index df5b3e41df..6cebce7da9 100644 --- a/libraries/liblutil/debug.c +++ b/libraries/liblutil/debug.c @@ -115,8 +115,10 @@ void lutil_log_int( const char *subsys, int level, const char *fmt, va_list vl ) { +#ifdef HAVE_WINSOCK time_t now; struct tm *today; +#endif int i; if ( levelArray == NULL ) return; /* logging isn't set up */ diff --git a/libraries/liblutil/uuid.c b/libraries/liblutil/uuid.c index e303f3d174..9c6c0fd548 100644 --- a/libraries/liblutil/uuid.c +++ b/libraries/liblutil/uuid.c @@ -236,7 +236,7 @@ lutil_uuidstr( char *buf, size_t len ) struct timeval tv; unsigned long long tl; unsigned char *nl; - unsigned short t2, t3, s1, n1, n2, n3; + unsigned short t2, t3, s1; unsigned int t1; /*