title: error: expected ')' before 'n'
body: <p>I am getting this compilation error . I tried a few troubleshooting steps like rename the def.h file to defdif.h to prevent the system files to be included. But this error doesnt go .Any one has a idea.</p>
  
  <pre>
  core/def.c: error: expected ')' before 'n'
  core/def.c: error: expected ')' before 'n
  </pre>
  
  <p>def.c file </p>
  
  <pre><code>u16_t
  lwip_htons(u16_t n)
    {
     return( ((n &amp; 0xff) &lt;&lt; 8) | ((n &amp; 0xff00) &gt;&gt; 8) );
    }
  
  
  u32_t
  lwip_htonl(u32_t n)
  {
  return ((n &amp; 0xff) &lt;&lt; 24) |
     ((n &amp; 0xff00) &lt;&lt; 8) |
     ((n &amp; 0xff0000UL) &gt;&gt; 8) |
     ((n &amp; 0xff000000UL) &gt;&gt; 24);
  }
  </code></pre>