e-dant / watcher

Filesystem watcher. Works anywhere. Simple, efficient and friendly.
MIT License
639 stars 32 forks source link

Please include unistd.h for portability #18

Closed toge closed 1 year ago

toge commented 1 year ago

I am creating a watcher conan package. https://github.com/conan-io/conan-center-index/pull/13638

I have encountered this compile error with some compilers. https://c3i.jfrog.io/c3i/misc/logs/pr/13638/8-linux-clang/watcher/0.3.1//5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9-test.txt

It seems to be caused by the missing unistd.h. Could you please merge them if possible?

e-dant commented 1 year ago

Thank you!