aboutsummaryrefslogtreecommitdiff
path: root/source/Host/freebsd/HostInfoFreeBSD.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Host/freebsd/HostInfoFreeBSD.cpp')
-rw-r--r--source/Host/freebsd/HostInfoFreeBSD.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Host/freebsd/HostInfoFreeBSD.cpp b/source/Host/freebsd/HostInfoFreeBSD.cpp
index fb9d86678dbb..9c82fcca7563 100644
--- a/source/Host/freebsd/HostInfoFreeBSD.cpp
+++ b/source/Host/freebsd/HostInfoFreeBSD.cpp
@@ -14,11 +14,10 @@
#include <sys/sysctl.h>
#include <sys/types.h>
#include <sys/utsname.h>
+#include <unistd.h>
using namespace lldb_private;
-uint32_t HostInfoFreeBSD::GetMaxThreadNameLength() { return 16; }
-
bool HostInfoFreeBSD::GetOSVersion(uint32_t &major, uint32_t &minor,
uint32_t &update) {
struct utsname un;