Index: uspace/lib/c/generic/time.c
===================================================================
--- uspace/lib/c/generic/time.c	(revision 8c85f0f28eee89a731d082e5c3e87ae6d4d4ba98)
+++ uspace/lib/c/generic/time.c	(revision 378d3496e0382f8210d47949d04320a53fc96287)
@@ -70,4 +70,13 @@
 static async_sess_t *clock_conn = NULL;
 
+/** Return processor time used by the program.
+ *
+ * @return -1  The processor time used is not available in this implementation.
+ */
+clock_t clock(void)
+{
+	return (clock_t) -1;
+}
+
 /** Check whether the year is a leap year.
  *
Index: uspace/lib/posix/include/posix/time.h
===================================================================
--- uspace/lib/posix/include/posix/time.h	(revision 8c85f0f28eee89a731d082e5c3e87ae6d4d4ba98)
+++ uspace/lib/posix/include/posix/time.h	(revision 378d3496e0382f8210d47949d04320a53fc96287)
@@ -43,7 +43,6 @@
 #include "libc/time.h"
 
-#ifndef CLOCKS_PER_SEC
+#undef CLOCKS_PER_SEC
 #define CLOCKS_PER_SEC (1000000L)
-#endif
 
 #ifndef __locale_t_defined
