add unistd.h include to files using usleep

On my system the build fails when trying to use usleep without
include <unistd.h>

This patch adds the include.
Merge pull request #2 from jonasdn/include-unistd

add unistd.h include to files using usleep