[Bug 19867] New: header inclusion problems while compiling lldb for MacOSX

Bug ID 19867
Summary header inclusion problems while compiling lldb for MacOSX
Product lldb
Version unspecified
Hardware Macintosh
OS MacOS X
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter newchief@king.net.pl
Classification Unclassified

I tried to build lldb from git on my MacOSX 10.9.3 using Clang 3.4-svn (XCode
5.1). I encountered two problems with header inclusion:

1. stropts.h not present in MacOSX (even with MacPorts installed) - I removed
its inclusion from tools/lldb-mi/MICmnStreamStdin.cpp and it compiled fine. Is
that #include <stropts.h> really needed?
2. errno.h inclusion is missing in tools/lldb-mi/MIUtilFileStd.cpp - I placed
#include <errno.h> before #include <string.h> line and it compiled fine.
With these two changes I was able to build lldb along with llvm, clang and
compiler-rt all fetched from their git repositories.

Paul Osmialowski changed bug 19867

What Removed Added
Status NEW RESOLVED
Resolution FIXED

Comment # 2 on bug 19867 from Paul Osmialowski

seems like both things were fixed yesterday. It builds fine now.