Skip to content

Commit 48f39da

Browse files
Patch for compilation failure in DomainSocket.cpp, AbstractSocket.cpp and AbstractSocket.h
1 parent abca02e commit 48f39da

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

lldb/include/lldb/Host/aix/AbstractSocket.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
namespace lldb_private {
1515
class AbstractSocket : public DomainSocket {
1616
public:
17-
AbstractSocket(bool child_processes_inherit);
17+
AbstractSocket();
1818

1919
protected:
2020
size_t GetNameOffset() const override;

lldb/source/Host/aix/AbstractSocket.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
using namespace lldb;
1414
using namespace lldb_private;
1515

16-
AbstractSocket::AbstractSocket(bool child_processes_inherit)
17-
: DomainSocket(ProtocolUnixAbstract, child_processes_inherit) {}
16+
AbstractSocket::AbstractSocket() : DomainSocket(ProtocolUnixAbstract) {}
1817

1918
size_t AbstractSocket::GetNameOffset() const { return 1; }
2019

lldb/source/Host/posix/DomainSocket.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
#include <sys/socket.h>
1818
#include <sys/un.h>
1919

20+
#if defined(_AIX)
21+
#include <strings.h>
22+
#endif
23+
2024
using namespace lldb;
2125
using namespace lldb_private;
2226

0 commit comments

Comments
 (0)