Skip to content

Commit

Permalink
Merge pull request #1907 from bluca/kfreebsd
Browse files Browse the repository at this point in the history
Problem: debian-kfreebsd build broken
  • Loading branch information
c-rack authored Apr 29, 2018
2 parents f5df69d + 285c515 commit bfc5af6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions include/czmq_prelude.h
Original file line number Diff line number Diff line change
Expand Up @@ -695,10 +695,7 @@ char *if_indextoname (unsigned int ifindex, char *ifname);
#if defined (__UTYPE_OSX) && !defined (HAVE_UUID)
# define HAVE_UUID 1
#endif
#if defined (__UTYPE_FREEBSD) && !defined (HAVE_UUID)
# define HAVE_UUID 1
#endif
#if defined (HAVE_UUID)
#if defined (HAVE_UUID) || defined (__UTYPE_FREEBSD)
# if defined (__UTYPE_FREEBSD) || defined (__UTYPE_NETBSD) || defined(__UTYPE_OPENBSD)
# include <uuid.h>
# elif defined __UTYPE_HPUX
Expand Down
2 changes: 1 addition & 1 deletion src/zuuid.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ zuuid_new (void)
assert (sizeof (uuid) == ZUUID_LEN);
UuidCreate (&uuid);
zuuid_set (self, (byte *) &uuid);
#elif defined (HAVE_UUID) && !defined (__UTYPE_FREEBSD)
#elif defined (HAVE_UUID)
uuid_t uuid;
assert (sizeof (uuid) == ZUUID_LEN);
uuid_generate (uuid);
Expand Down

0 comments on commit bfc5af6

Please sign in to comment.