Error C2146: syntax error : missing ';' before identifier
<p>The line in question is:</p>

<blockquote>
  <p>extern BOOL logged_in;</p>
</blockquote>

<p>Here are my includes:</p>

<pre><code>#define _WIN32_WINNT    0x0403              // Very important for critical sections.
#define WIN32_LEAN_AND_MEAN                 // Good to use.
#pragma optimize("gsy", on)                 // Global optimization, Short sequences, Frame pointers.
#pragma comment(linker, "/RELEASE")         // Release code
#pragma comment(linker, "/opt:nowin98")
#pragma comment(linker, "/ALIGN:4096")      // This will save you some size on the executable.
#pragma comment(linker, "/IGNORE:4108 ")    // This is only here for when you use /ALIGN:4096.
#pragma comment(linker, "/ALIGN:4096")      // This will save you some size on the executable.

//default headers
#include &lt;windows.h&gt;
#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
#include &lt;winsock2.h&gt;
#include &lt;time.h&gt;
#include &lt;stdlib.h&gt;
#include &lt;Winsvc.h&gt;
#include &lt;winuser.h&gt; 
#include &lt;tlhelp32.h&gt;
#include &lt;tchar.h&gt;
#include &lt;shlobj.h&gt;
#include &lt;shlwapi.h&gt;
#include &lt;shellapi.h&gt;
#include &lt;commctrl.h&gt;

#pragma comment(lib, "ws2_32.lib") 
#pragma comment(lib, "urlmon.lib") 
#pragma comment(lib, "shlwapi.lib")
#pragma comment(lib, "shell32.lib")
</code></pre>

<p>Any ideas?</p>
