aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/osinfo/libc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/osinfo/libc.c b/src/lib/osinfo/libc.c
index f52dea41aa..59a49e5e63 100644
--- a/src/lib/osinfo/libc.c
+++ b/src/lib/osinfo/libc.c
@@ -31,6 +31,9 @@
const char *
tor_libc_get_name(void)
{
+#ifdef __BSD_VISIBLE
+ return "BSD";
+#endif /* defined(__BSD_VISIBLE) */
#ifdef __GLIBC__
return "Glibc";
#else /* !defined(__GLIBC__) */