mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-07 22:58:34 +02:00
TD-56
- TD-56 File.cpp needs to include <string.h> on Solaris (thanks to Tatjana Heuѕer).
This commit is contained in:
parent
c60ec0b6ee
commit
30dc62703d
2 changed files with 7 additions and 0 deletions
|
@ -28,7 +28,12 @@
|
|||
#include <fstream>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef SOLARIS
|
||||
#include <fcntl.h> // for flock() replacement
|
||||
#include <string.h> // for memset()
|
||||
#else
|
||||
#include <sys/file.h>
|
||||
#endif
|
||||
#include <pwd.h>
|
||||
#include <unistd.h>
|
||||
#include <File.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue