Fixed compiling issues on mac os x with llvm-gcc 4.2

This commit is contained in:
Torsten Walluhn
2012-08-14 23:34:26 +02:00
parent 0c92fb8500
commit 3f39c5ae42
3 changed files with 15 additions and 4 deletions
+5
View File
@@ -6,6 +6,7 @@
//------------------------------------------------------------------------
// Copyright (c) 2002-2006 Marcus Geelnard
// Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org>
// Copyright (c) 2012 Torsten Walluhn <tw@mad-cad.net>
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
@@ -32,7 +33,11 @@
#include <string.h>
#include <stdlib.h>
#ifdef __APPLE__
#include <sys/malloc.h>
#else
#include <malloc.h>
#endif
//========================================================================