krytarowski created this revision. krytarowski added a reviewer: joerg. krytarowski added a subscriber: lldb-commits. krytarowski set the repository for this revision to rL LLVM.
Problem caught on NetBSD with missing getopt_long_only(3). 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 @@ -7,9 +7,10 @@ // //===----------------------------------------------------------------------===// +#include <lldb/Host/common/GetOptInc.h> + // C Includes #include <errno.h> -#include <getopt.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h>
Index: tools/lldb-server/lldb-gdbserver.cpp =================================================================== --- tools/lldb-server/lldb-gdbserver.cpp +++ tools/lldb-server/lldb-gdbserver.cpp @@ -7,9 +7,10 @@ // //===----------------------------------------------------------------------===// +#include <lldb/Host/common/GetOptInc.h> + // C Includes #include <errno.h> -#include <getopt.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h>
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits