title: 'strndup' not defined in this scope
body: <p>I'm trying to compile libzqm on windows using MinGW (GCC 4.8). Compilation terminates with this error:</p>
  
  <pre><code>'strndup' was not declared in this scope
  </code></pre>
  
  <p>So, <code>strndup</code> should be in <code>string.h</code> right? I tried to add <code>/mingw/x86_64-w64-mingw32/include</code> to <code>CXXFLAGS</code> but didn't work. </p>
  
  <p>Any suggestion ? </p>