diff options
author | Martin Lucina <mato@kotelna.sk> | 2010-02-18 19:38:15 +0100 |
---|---|---|
committer | Martin Lucina <mato@kotelna.sk> | 2010-02-18 19:38:15 +0100 |
commit | 2a79a943de417679c562cd4a917e1d1bc19b0d25 (patch) | |
tree | 43ce287a60b07a4c4c9ba879606594e2bf6b7b9a /src/uuid.hpp | |
parent | 776b12633981fd95050e138daeeba00a65d9532b (diff) |
Add NetBSD support
Diffstat (limited to 'src/uuid.hpp')
-rw-r--r-- | src/uuid.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uuid.hpp b/src/uuid.hpp index 001ea94..00424ed 100644 --- a/src/uuid.hpp +++ b/src/uuid.hpp @@ -23,7 +23,7 @@ #include "platform.hpp" #include "stdint.hpp" -#if defined ZMQ_HAVE_FREEBSD +#if defined ZMQ_HAVE_FREEBSD || defined ZMQ_HAVE_NETBSD #include <uuid.h> #elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OSX #include <uuid/uuid.h> @@ -60,7 +60,7 @@ namespace zmq #endif ::UUID uuid; RPC_CSTR uuid_str; -#elif defined ZMQ_HAVE_FREEBSD +#elif defined ZMQ_HAVE_FREEBSD || defined ZMQ_HAVE_NETBSD ::uuid_t uuid; char *uuid_str; #elif defined ZMQ_HAVE_LINUX || defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OSX |