#pragma pack won't compile?
<p>I'm trying to compile some downloaded source which contains lots of:</p>

<pre><code>142    #ifdef __cplusplus
143    #pragma pack(1)
144    #endif
</code></pre>

<p>but I get the following error and it won't compile:</p>

<pre><code>src/globals.h:143:16: error: expected declaration before end of line
mingw32-make: *** [obj/main.o] Error 1
</code></pre>

<p>I'm using a makefile downloaded with the rest of the source to compile it.</p>

<p>what do I need to do to get this to compile?</p>

<p><strong>EDIT</strong>: </p>

<p>The source code is the code for <a href="http://keeper.lubie.org/html/dk_keeperfx_dwnld.php" rel="nofollow">KeeperFX</a> available from <a href="https://code.google.com/p/keeperfx/source/checkout" rel="nofollow">google code</a>. </p>
