[Lldb-commits] [PATCH] D12748: Include platform agnostic <GetOptInc.h> in the place of <getopt.h>

Bruce Mitchener via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 1 00:47:41 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL248990: Include platform agnostic <HostGetOpt.h> in the place of <getopt.h> (authored by brucem).

Changed prior to commit:
  http://reviews.llvm.org/D12748?vs=35950&id=36194#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D12748

Files:
  lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp

Index: lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp
===================================================================
--- lldb/trunk/tools/lldb-server/lldb-gdbserver.cpp
+++ lldb/trunk/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.36194.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151001/3179df1d/attachment.bin>


More information about the lldb-commits mailing list