<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/92260>92260</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Clang unable to find std headers on Mac
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          spino17
      </td>
    </tr>
</table>

<pre>
    I am new to this amazing project and C/C++ ecosystem in general. I build the llvm and clang by following the instructions on: `https://clang.llvm.org/get_started.html` and then tried using compiling a simple C hello-world code having `#include <stdlib.h>` and `#include <stdio.h>` but it fails with the following error: `main.c:1:10: fatal error: 'stdio.h' file not found`. The document doesn't specify any more setup so I don't know what I am missing. The code compiles with my mac's default clang with version: `Apple clang version 14.0.3 (clang-1403.0.22.14.1)` and the output of command `clang --version` is 
```
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin23.4.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
```

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVMGO6zYM_BrlQsSQZTtODj5ksw2wwOtt74Vs0TFbWTIkatP06ws53n2vwJ4KJLAtUkPODEgdI90cYieaF9G87nTiyYcuLuR82e56bx7dG-gZHN6BPfBEEfSs_yF3gyX4P3Fg0M7ARajrRagXoV4ABx8fkXEGcnBDh0HbAt6gT2QN8IRg7ce8XhusdjfoHzB6a_09o-Y4ucghDUzeRfBOVGcQBzkxL1FUZ6GuQl3Xq0VGKny4CXW9If8RWQdGU0w8W3GQaw2e0AEHQgMp5gqDnxey-U1DpHmxCBeY0Fq_v_tgDQzeIEz6I6eIgxSqIjfYZBBEdYlsLPXFJKrfPit8l0P-K6VPDMQwarIR7sTTyvEnYwzBh43jrMkVg6jOZf7LfDpq1vaXJNV-wqsWRrIIzjOMPjkjDrKA9wnB-CHN6BiMx-iEahniggOND9DuAbMPCBE5LRA9vIHxz5y_nL_DfdIMq-kzxSzYE3IV5SkdbjTmB8x6yA2BwVEny5uha_QDQ6Qv885L1vkZ3iJQ1oUsKhDquJ7vy1pWhSyUKsq6KIU6_WIh-MRLYvBjbmLeZH_i7feftQ4SKIKQr0KesyvP3_r5_xpYr77rcEPORHSYD_VeZ6i90eFOTlVFXWwl3qeA2sDsDdqcvfhIfz9Dby6ythbNK20uXn9QH3R4CHV9xQ-0fsGQh-hJ7gc5fPfeRqGuKeZAT-5bXjvTVeZUnfQOu7Itm_Yoy_K4mzrZDwd1ag8tmsacGmnksWyHXo_YGF1W7Y46JVUtm7Ipq6opj4U8jk1fj1WDuj6VTStqibMm-zVlO4oxYXdS6iB3Vvdo47o5lFr1E0rlJRK6nL_v0y2KWlqKHH8iMLHF7rLakJzuLea9MpIzENnAhNpgyEMPv-thl4Lt_jv2N-Ip9cXgZ6GuGXV77LdtJNR1bTILt_b5bwAAAP__86iQXQ">