[Lldb-commits] [PATCH] D12748: Include platform agnostic <GetOptInc.h> in the place of <getopt.h>
Kamil Rytarowski via lldb-commits
lldb-commits at lists.llvm.org
Tue Sep 29 02:53:58 PDT 2015
krytarowski updated this revision to Diff 35950.
krytarowski added a comment.
Use proper include.
Repository:
rL LLVM
http://reviews.llvm.org/D12748
Files:
tools/lldb-server/lldb-gdbserver.cpp
Index: tools/lldb-server/lldb-gdbserver.cpp
===================================================================
--- tools/lldb-server/lldb-gdbserver.cpp
+++ 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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12748.35950.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150929/7a0f8743/attachment.bin>
More information about the lldb-commits
mailing list