• Kirill Smelkov's avatar
    bigfile/virtmem: usleep() needs unistd.h · d9d6409f
    Kirill Smelkov authored
    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
    d9d6409f
virtmem.c 26.3 KB