title: fatal error: linux/delay.h: No such file or directory
body: <p>The function <code>mdelay()</code> is used in my program, but when compiling, GCC gave me an error:</p>
  
  <blockquote>
    <p>fatal error: linux/delay.h: No such file or directory</p>
  </blockquote>
  
  <p>I tried to solve this problem, but nothing worked.</p>
  
  <p>What I've tried:</p>
  
  <ul>
  <li><p>copy the file, delay.h, into the folder /usr/linux, but it'll show up another header file (asm/delay.h) missing.</p></li>
  <li><p>copy the file, delay.h (different from the above), into the folder /usr/asm, but it'll show up many header files missing.</p></li>
  </ul>
  
  <p>How to solve this problem?</p>
  
  <p>Envir: Ubuntu 12.04 LTS</p>