diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-10-01 07:45:58 +0000 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2015-10-01 07:45:58 +0000 |
| commit | c32c277b84247c9b68ab9ee9423ed372334f85fd (patch) | |
| tree | ce9e03f24f1fb5f0bee81c6e82a854a75cc009a9 /lldb/tools | |
| parent | d866bdd6920759dbcfc6440d86c9da2c7a567511 (diff) | |
| download | bcm5719-llvm-c32c277b84247c9b68ab9ee9423ed372334f85fd.tar.gz bcm5719-llvm-c32c277b84247c9b68ab9ee9423ed372334f85fd.zip | |
Include platform agnostic <HostGetOpt.h> in the place of <getopt.h>
Summary: Problem caught on NetBSD with missing getopt_long_only(3).
Change by Kamil Rytarowski <n54@gmx.com>
Reviewers: joerg, brucem
Subscribers: brucem, lldb-commits
Differential Revision: http://reviews.llvm.org/D12748
llvm-svn: 248990
Diffstat (limited to 'lldb/tools')
| -rw-r--r-- | lldb/tools/lldb-server/lldb-gdbserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-server/lldb-gdbserver.cpp b/lldb/tools/lldb-server/lldb-gdbserver.cpp index 30bb2d68677..a754cfd3343 100644 --- a/lldb/tools/lldb-server/lldb-gdbserver.cpp +++ b/lldb/tools/lldb-server/lldb-gdbserver.cpp @@ -9,7 +9,6 @@ // C Includes #include <errno.h> -#include <getopt.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> @@ -29,6 +28,7 @@ #include "lldb/Core/Error.h" #include "lldb/Core/PluginManager.h" #include "lldb/Host/ConnectionFileDescriptor.h" +#include "lldb/Host/HostGetOpt.h" #include "lldb/Host/HostThread.h" #include "lldb/Host/OptionParser.h" #include "lldb/Host/Pipe.h" |

