mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 20:00:43 +00:00
19 lines
649 B
Diff
19 lines
649 B
Diff
Index: llvm-toolchain-snapshot_9~svn353038/lldb/source/Host/freebsd/Host.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_9~svn353038.orig/lldb/source/Host/freebsd/Host.cpp
|
|
+++ llvm-toolchain-snapshot_9~svn353038/lldb/source/Host/freebsd/Host.cpp
|
|
@@ -10,6 +10,13 @@
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/exec.h>
|
|
+#ifdef __FreeBSD_kernel__
|
|
+# ifdef __amd64__
|
|
+# include </usr/include/x86_64-kfreebsd-gnu/sys/kglue/sys/types.h>
|
|
+# else
|
|
+# include </usr/include/i386-kfreebsd-gnu/sys/kglue/sys/types.h>
|
|
+# endif
|
|
+#endif
|
|
#include <sys/proc.h>
|
|
#include <sys/ptrace.h>
|
|
#include <sys/sysctl.h>
|