<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - header inclusion problems while compiling lldb for MacOSX"
   href="http://llvm.org/bugs/show_bug.cgi?id=19867">19867</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>header inclusion problems while compiling lldb for MacOSX
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>newchief@king.net.pl
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>