title: Building Jonesforth - asm/unistd.h: No such file or directory
body: <p>When attempting to build <a href="https://github.com/nornagon/jonesforth/" rel="nofollow noreferrer">Jonesforth</a> (32-bit GNU Assembler program) on Ubuntu 16.04.4 64-bit  (Xenial Xerus), I'm seeing the following:</p>
  
  <pre><code>~/src/jonesforth $ make
  gcc -m32 -nostdlib -static -o jonesforth jonesforth.S
  jonesforth.S:1154:24: fatal error: asm/unistd.h: No such file or directory
  compilation terminated.
  Makefile:11: recipe for target 'jonesforth' failed
  </code></pre>
  
  <p>Looking in the file <code>jonesforth.S</code>, I noticed the following lines:</p>
  
  <pre><code>//#include &lt;asm-i386/unistd.h&gt;  // You might need this instead
  #include &lt;asm/unistd.h&gt;
  </code></pre>
  
  <p>I've tried using <code>asm-i386/unistd.h</code> instead, but that also didn't seem to help.</p>
  
  <p>Is the best course of action to install more headers via <code>sudo apt install linux-headers...</code>? If so, which should I go with? Should <code>linux-headers-generic</code> be sufficient?</p>
  
  <p>Or, should I change the header that <code>jonesforth.S</code> is referring to?</p>