handle systems that don't take a 2nd argument to gettimeofday()
diff --git a/authenticate.c b/authenticate.c
index 50c10aa..f87fcee 100644
--- a/authenticate.c
+++ b/authenticate.c
@@ -56,7 +56,7 @@
 	memset(input, 0, sizeof(input));
 
 	strlcpy((char *)input, addr, 17);
-	gettimeofday(&tv, NULL);
+	sys_gettimeofday(&tv);
 	SIVAL(input, 16, tv.tv_sec);
 	SIVAL(input, 20, tv.tv_usec);
 	SIVAL(input, 24, getpid());