title: Installing/compiling in Cygwin/MinGW - How to set the include "path"? (symbolic link?)
body: <p>I have been trying to install/compile C libraries in Windows 7 using Cygwin and MinGW. However, I am getting errors like these during <code>make</code>:</p>
  
  <pre><code>sys/resource.h: No such file or directory
  sys/times.h: No such file or directory
  </code></pre>
  
  <p>I previously thought it might be a problem with the specific libraries and asked here: <a href="https://stackoverflow.com/questions/12737397/sys-time-h-not-found-error-when-installing-igraph-in-cygwin-and-mingw">Various issues installing igraph in Visual Studio 2010 and Cygwin/MinGW (&quot;sys/time.h not found&quot;)</a>, but after encountering the same error with different libraries, I think the problem lies on my end.</p>
  
  <p><strong>Attempt</strong></p>
  
  <p><code>cygwin/usr/include/sys/times.h</code> and <code>cygwin/usr/include/sys/resource.h</code> exists. After getting advice regarding symbolic links, I used <code>ln -s /usr/include/sys sys</code> to make sure that <code>sys/times.h</code> worked.</p>
  
  <p>I went to look at the <code>make</code> output for a specific library (igraph). It says it entered a "src" folder. So, I went to the src folder and did the same thing: <code>ln -s /usr/include/sys sys</code> and made sure that <code>sys/times.h</code> worked within the src folder too.</p>
  
  <p>However, I am still getting:</p>
  
  <pre><code>fatal error: sys/times.h: No such file or directory
  </code></pre>
  
  <p><strong>Question</strong></p>
  
  <p>How do I set the "path" for <code>make</code> to find 'sys/times.h' or other files in the /usr/include/sys folder? What am I missing here?</p>
  
  <p>P.S.</p>
  
  <p>Please bear with me as I am usually a Windows user and not familiar with Linux terminology.</p>