[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
Mon Sep 28 16:23:57 PDT 2015
krytarowski updated this revision to Diff 35923.
krytarowski added a comment.
Put the include into proper line and use "" instead of <>.
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>
@@ -28,6 +27,7 @@
#include "lldb/Core/ConnectionMachPort.h"
#include "lldb/Core/Error.h"
#include "lldb/Core/PluginManager.h"
+#include "lldb/Host/common/GetOptInc.h"
#include "lldb/Host/ConnectionFileDescriptor.h"
#include "lldb/Host/HostThread.h"
#include "lldb/Host/OptionParser.h"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12748.35923.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150928/19aec024/attachment.bin>
More information about the lldb-commits
mailing list