title: Supporting linux/types.h OSX
body: <p>I am trying to cross compile an application using OSX. However, when I compile I get the following...</p>
  
  <pre><code>fatal error: 'linux/types.h' file not found
  </code></pre>
  
  <p>When I change to sys/types.h and now I get...</p>
  
  <pre><code> error: unknown type name '__s32'
   unknown type name '__u8'
   unknown type name '__u16'
   etc
  </code></pre>
  
  <p>Can someone help me with how to handle this?</p>