Index: uspace/lib/drv/generic/remote_nic.c
===================================================================
--- uspace/lib/drv/generic/remote_nic.c	(revision 498ced18a4f90fe1c9eee028e354d61b39de484d)
+++ uspace/lib/drv/generic/remote_nic.c	(revision 8867cf60014e9288ad97cf5fd5d82bcd6e605782)
@@ -39,5 +39,5 @@
 #include <errno.h>
 #include <ipc/services.h>
-#include <sys/time.h>
+#include <time.h>
 #include <macros.h>
 
@@ -1262,5 +1262,5 @@
  */
 errno_t nic_poll_get_mode(async_sess_t *dev_sess, nic_poll_mode_t *mode,
-    struct timeval *period)
+    struct timespec *period)
 {
 	assert(mode);
@@ -1280,5 +1280,5 @@
 
 	if (period != NULL)
-		rc = async_data_read_start(exch, period, sizeof(struct timeval));
+		rc = async_data_read_start(exch, period, sizeof(struct timespec));
 
 	async_exchange_end(exch);
@@ -1296,5 +1296,5 @@
  */
 errno_t nic_poll_set_mode(async_sess_t *dev_sess, nic_poll_mode_t mode,
-    const struct timeval *period)
+    const struct timespec *period)
 {
 	async_exch_t *exch = async_exchange_begin(dev_sess);
@@ -1305,5 +1305,5 @@
 	errno_t rc;
 	if (period)
-		rc = async_data_write_start(exch, period, sizeof(struct timeval));
+		rc = async_data_write_start(exch, period, sizeof(struct timespec));
 	else
 		rc = EOK;
@@ -2405,7 +2405,7 @@
 	nic_poll_mode_t mode = NIC_POLL_IMMEDIATE;
 	int request_data = IPC_GET_ARG2(*call);
-	struct timeval period = {
+	struct timespec period = {
 		.tv_sec = 0,
-		.tv_usec = 0
+		.tv_nsec = 0
 	};
 
@@ -2421,5 +2421,5 @@
 		}
 
-		if (max_len != sizeof(struct timeval)) {
+		if (max_len != sizeof(struct timespec)) {
 			async_answer_0(&data, ELIMIT);
 			async_answer_0(call, ELIMIT);
@@ -2428,5 +2428,5 @@
 
 		async_data_read_finalize(&data, &period,
-		    sizeof(struct timeval));
+		    sizeof(struct timespec));
 	}
 
@@ -2441,6 +2441,6 @@
 	nic_poll_mode_t mode = IPC_GET_ARG2(*call);
 	int has_period = IPC_GET_ARG3(*call);
-	struct timeval period_buf;
-	struct timeval *period = NULL;
+	struct timespec period_buf;
+	struct timespec *period = NULL;
 	size_t length;
 
@@ -2453,5 +2453,5 @@
 		}
 
-		if (length != sizeof(struct timeval)) {
+		if (length != sizeof(struct timespec)) {
 			async_answer_0(&data, ELIMIT);
 			async_answer_0(call, ELIMIT);
