mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 04:22:54 +00:00
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
Index: llvm-toolchain-snapshot_3.4~svn190038/lldb/include/lldb/Host/Config.h
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn190038.orig/lldb/include/lldb/Host/Config.h 2013-09-05 15:33:30.817207780 +0200
|
|
+++ llvm-toolchain-snapshot_3.4~svn190038/lldb/include/lldb/Host/Config.h 2013-09-05 15:33:30.813207780 +0200
|
|
@@ -14,7 +14,7 @@
|
|
|
|
#include "lldb/Host/macosx/Config.h"
|
|
|
|
-#elif defined(__linux__)
|
|
+#elif defined(__linux__) || defined(__GNU__)
|
|
|
|
#include "lldb/Host/linux/Config.h"
|
|
|
|
Index: llvm-toolchain-snapshot_3.4~svn190038/lldb/source/Host/common/Host.cpp
|
|
===================================================================
|
|
--- llvm-toolchain-snapshot_3.4~svn190038.orig/lldb/source/Host/common/Host.cpp 2013-09-05 15:33:30.817207780 +0200
|
|
+++ llvm-toolchain-snapshot_3.4~svn190038/lldb/source/Host/common/Host.cpp 2013-09-05 15:34:09.849206788 +0200
|
|
@@ -22,8 +22,10 @@
|
|
#include <grp.h>
|
|
#include <netdb.h>
|
|
#include <pwd.h>
|
|
+#ifndef __GNU__
|
|
#include <sys/sysctl.h>
|
|
#endif
|
|
+#endif
|
|
|
|
#if defined (__APPLE__)
|
|
#include <mach/mach_port.h>
|