title: Including Boost network libraries makes Windows.h functions undefined
body: <p>I'm trying to work with boost</p>
  
  <p>My includes look like this:</p>
  
  <pre><code>#include &lt;boost/asio.hpp&gt;
  #include &lt;Windows.h&gt;
  </code></pre>
  
  <p>I'm trying to test out this call:</p>
  
  <pre><code>ShellExecute(NULL, "open", "C:/local/test.txt", NULL, NULL, SW_SHOWNORMAL);
  </code></pre>
  
  <p>When I compile I get "ShellExecute is undefined". If I move the <code>Windows.h</code> include above the boost include, it's picked up by the compiler but I get tons of Winsock errors instead. I'm using VS 2015.</p>
  
  <p>This only happens with the network libraries - I've been using boost filesystem prior to this with no problems.</p>
  
  <p>This happens with all functions that are provided by <code>Windows.h</code></p>
  
  <p>Any thoughts would be appreciated!</p>