chen3feng / toft

C++ Base Library for serverside development
BSD 3-Clause "New" or "Revised" License
337 stars 161 forks source link

fix compile of toft/storage/path #114

Closed huahang closed 10 years ago

huahang commented 10 years ago

To use getcwd as defined in POSIX, unistd.h should be included.

http://pubs.opengroup.org/onlinepubs/9699919799/functions/getcwd.html

chen3feng commented 10 years ago

thanks