mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-24 18:06:42 +02:00
OpenBSD also provides uuid support directly in its libc, same as FreeBSD.
This commit is contained in:
parent
e361c2c751
commit
933b2d8ebe
4 changed files with 4 additions and 2 deletions
|
@ -204,7 +204,7 @@ int autoComplete (
|
|||
// representation is always lowercase anyway.
|
||||
// For the implementation details, refer to
|
||||
// http://svnweb.freebsd.org/base/head/sys/kern/kern_uuid.c
|
||||
#ifdef FREEBSD
|
||||
#if defined(FREEBSD) || defined(OPENBSD)
|
||||
const std::string uuid ()
|
||||
{
|
||||
uuid_t id;
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
#include <vector>
|
||||
#include <map>
|
||||
#include <sys/types.h>
|
||||
#ifdef FREEBSD
|
||||
#if defined(FREEBSD) || defined(OPENBSD)
|
||||
#include <uuid.h>
|
||||
#else
|
||||
#include <uuid/uuid.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue