mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Fix uuid on FreeBSD
In FreeBSD, just as in DARWIN, uuid functions are in libc and no external libuuid is required. The API is quite different from Linux's though, so a different implementation of uuid () (util.cpp) is needed.
This commit is contained in:
parent
05afa911d3
commit
da7cc6eed7
3 changed files with 31 additions and 4 deletions
|
@ -32,7 +32,11 @@
|
|||
#include <vector>
|
||||
#include <map>
|
||||
#include <sys/types.h>
|
||||
#ifdef __FreeBSD__
|
||||
#include <uuid.h>
|
||||
#else
|
||||
#include <uuid/uuid.h>
|
||||
#endif
|
||||
#include <Task.h>
|
||||
|
||||
// util.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue