From 4b85112ce198472524f08cce71856b89e2621185 Mon Sep 17 00:00:00 2001 From: Lance Date: Sat, 18 Apr 2009 23:17:09 +0000 Subject: [PATCH] Added ctype header to fix MSVC2008 complaining about "tolower" being unresolved. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3175 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/crc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/common/crc.c b/engine/common/crc.c index b35958e26..6a4ce08e6 100644 --- a/engine/common/crc.c +++ b/engine/common/crc.c @@ -8,7 +8,7 @@ of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. @@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "quakedef.h" #include "crc.h" +#include // this is a 16 bit, non-reflected CRC using the polynomial 0x1021 // and the initial and final xor values shown below... in other words, the