blob: afc927549af699043196d25af4a9044962b89dfd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- upnp/src/inc/uuid.h.orig 2016-01-07 23:32:52 UTC
+++ upnp/src/inc/uuid.h
@@ -22,6 +22,14 @@
#include "sysdep.h"
+#ifdef __FreeBSD__
+/* Workaround to avoid picking up different uuid_* fns from FreeBSD's libc */
+#define uuid_create libupnp_uuid_create
+#define uuid_unpack libupnp_uuid_unpack
+#define uuid_create_from_name libupnp_uuid_create_from_name
+#define uuid_compare libupnp_uuid_compare
+#endif
+
/*! . */
typedef struct _uuid_upnp {
/*! . */
|