summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/compat-uuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/compat-uuid.h')
-rw-r--r--libglusterfs/src/compat-uuid.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libglusterfs/src/compat-uuid.h b/libglusterfs/src/compat-uuid.h
index 8dac6990388..2e66117ce1f 100644
--- a/libglusterfs/src/compat-uuid.h
+++ b/libglusterfs/src/compat-uuid.h
@@ -57,6 +57,10 @@ gf_uuid_unparse (const uuid_t uuid, char *out)
uuid_unparse (uuid, out);
}
+#elif defined(__FreeBSD__)
+
+#error Please install e2fsprogs-libuuid for a compatible libuuid implementation.
+
/* TODO: add more uuid APIs, use constructs like this:
#elif defined(__NetBSD__) * NetBSD libc *
@@ -70,9 +74,5 @@ gf_uuid_clear (uuid_t uuid)
*/
-#else /* use bundled Linux like libuuid from contrib/uuid/ */
-
-#include "uuid.h"
-
#endif /* HAVE_UUID */
#endif /* _GF_UUID_H */