summaryrefslogtreecommitdiff
path: root/perf/c/local_lat.c
diff options
context:
space:
mode:
Diffstat (limited to 'perf/c/local_lat.c')
-rw-r--r--perf/c/local_lat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/perf/c/local_lat.c b/perf/c/local_lat.c
index 92cfadf..86d4721 100644
--- a/perf/c/local_lat.c
+++ b/perf/c/local_lat.c
@@ -20,7 +20,6 @@
#include <zmq.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
#include <assert.h>
int main (int argc, char *argv [])
@@ -66,7 +65,7 @@ int main (int argc, char *argv [])
rc = zmq_msg_close (&msg);
assert (rc == 0);
- sleep (1);
+ zmq_sleep (1);
rc = zmq_close (s);
assert (rc == 0);