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:
committed by
Paul Beckingham
parent
05afa911d3
commit
da7cc6eed7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user