summaryrefslogtreecommitdiff
path: root/src/uuid.hpp
diff options
context:
space:
mode:
authorMartin Lucina <mato@kotelna.sk>2010-02-18 19:38:15 +0100
committerMartin Lucina <mato@kotelna.sk>2010-02-18 19:38:15 +0100
commit2a79a943de417679c562cd4a917e1d1bc19b0d25 (patch)
tree43ce287a60b07a4c4c9ba879606594e2bf6b7b9a /src/uuid.hpp
parent776b12633981fd95050e138daeeba00a65d9532b (diff)
Add NetBSD support
Diffstat (limited to 'src/uuid.hpp')
-rw-r--r--src/uuid.hpp4
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