OpenBSD also provides uuid support directly in its libc, same as FreeBSD.

This commit is contained in:
Kent R. Spillner 2016-01-15 12:35:10 -05:00 committed by Paul Beckingham
parent e361c2c751
commit 933b2d8ebe
4 changed files with 4 additions and 2 deletions

View file

@ -125,6 +125,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Rafał Bolanowski Rafał Bolanowski
Sunil Joshi Sunil Joshi
Misty De Meo Misty De Meo
Kent R. Spillner
Thanks to the following, who submitted detailed bug reports and excellent Thanks to the following, who submitted detailed bug reports and excellent
suggestions: suggestions:

View file

@ -57,6 +57,7 @@
- Numerous performance improvements. Taskwarrior 2.5.1 is between X% and - Numerous performance improvements. Taskwarrior 2.5.1 is between X% and
Y% faster than 2.5.0 when running various commands. Y% faster than 2.5.0 when running various commands.
- New formatting specifier 'relative' for columns of Date type was introduced. - New formatting specifier 'relative' for columns of Date type was introduced.
- Improved OpenBSD support (thanks to Kent R. Spillner).
------ current release --------------------------- ------ current release ---------------------------

View file

@ -204,7 +204,7 @@ int autoComplete (
// representation is always lowercase anyway. // representation is always lowercase anyway.
// For the implementation details, refer to // For the implementation details, refer to
// http://svnweb.freebsd.org/base/head/sys/kern/kern_uuid.c // http://svnweb.freebsd.org/base/head/sys/kern/kern_uuid.c
#ifdef FREEBSD #if defined(FREEBSD) || defined(OPENBSD)
const std::string uuid () const std::string uuid ()
{ {
uuid_t id; uuid_t id;

View file

@ -32,7 +32,7 @@
#include <vector> #include <vector>
#include <map> #include <map>
#include <sys/types.h> #include <sys/types.h>
#ifdef FREEBSD #if defined(FREEBSD) || defined(OPENBSD)
#include <uuid.h> #include <uuid.h>
#else #else
#include <uuid/uuid.h> #include <uuid/uuid.h>