title: C compiler error: cdefs.h not found
body: <p>(There are similar questions answered but none really applies to this)</p>
  
  <p>I have a board with Fedora 20 and armv71 architecture (32-bit). I have installed all the gcc libraries via yum which are required such as <code>gcc</code>, <code>g++</code>, <code>cmake</code>, <code>glibc</code>, <code>glibc-devel</code> etc. (<code>glibc-devel</code> is equivalent of <code>libc6-dev-i386</code> in Fedora).</p>
  
  <p>I'm trying to compile a C project, which compiles just fine on MAC OS 64-bit and Ubuntu 64-bit, but gives me the following error on Fedora 20 when I run <strong><code>make</code></strong>:</p>
  
  <pre><code>/usr/include/features.h:364:25: fatal error: sys/cdefs.h: No such file or directory
   #  include &lt;sys/cdefs.h&gt;
  </code></pre>
  
  <p>When I check <code>/usr/include/sys</code> folder, it is empty and <code>cdefs.h</code> file does not exist anywhere on the system.</p>
  
  <p>The problem seems to be I'm missing a package (possibly?) but cannot figure out which one is missing since I seem to have all installed. Or 32-bit C compiler missing that file for a specific reason? Any help would be appreciated.</p>