Commit d9d6409f authored by Kirill Smelkov's avatar Kirill Smelkov

bigfile/virtmem: usleep() needs unistd.h

The following started to appear after recent gcc upgrade on my host:

bigfile/virtmem.c: In function `vma_on_pagefault':
bigfile/virtmem.c:696:9: warning: implicit declaration of function `usleep' [-Wimplicit-function-declaration]
         usleep(10000);  // XXX with 1000 uslepp still busywaits
parent 8f624957
......@@ -33,6 +33,7 @@
#include <errno.h>
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
static size_t page_size(const Page *page);
static void page_drop_memory(Page *page);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment