Index: uspace/lib/posix/include/posix/sys/time.h
===================================================================
--- uspace/lib/posix/include/posix/sys/time.h	(revision f33c989e878fae6eb2786815ecf7769c2b706bc6)
+++ uspace/lib/posix/include/posix/sys/time.h	(revision 8c85f0f28eee89a731d082e5c3e87ae6d4d4ba98)
@@ -34,4 +34,6 @@
 #define POSIX_SYS_TIME_H_
 
+#include "libc/time.h"
+
 #define DST_NONE  0
 
Index: uspace/lib/posix/src/time.c
===================================================================
--- uspace/lib/posix/src/time.c	(revision f33c989e878fae6eb2786815ecf7769c2b706bc6)
+++ uspace/lib/posix/src/time.c	(revision 8c85f0f28eee89a731d082e5c3e87ae6d4d4ba98)
@@ -220,5 +220,5 @@
 	case CLOCK_REALTIME:
 		res->tv_sec = 0;
-		res->tv_nsec = 1000; /* Microsecond resolution. */
+		res->tv_nsec = USEC2NSEC(1); /* Microsecond resolution. */
 		return 0;
 	default:
@@ -245,5 +245,5 @@
 		gettimeofday(&tv, NULL);
 		tp->tv_sec = tv.tv_sec;
-		tp->tv_nsec = tv.tv_usec * 1000;
+		tp->tv_nsec = USEC2NSEC(tv.tv_usec);
 		return 0;
 	default:
@@ -301,5 +301,5 @@
 		}
 		if (rqtp->tv_nsec != 0) {
-			fibril_usleep(rqtp->tv_nsec / 1000);
+			fibril_usleep(NSEC2USEC(rqtp->tv_nsec));
 		}
 		return 0;
