]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
fix build on big endian arches
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>
Sat, 30 Nov 2013 08:28:59 +0000 (12:28 +0400)
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>
Sat, 30 Nov 2013 08:28:59 +0000 (12:28 +0400)
Signed-off-by: Dan HorĂ¡k <dan@danny.cz>
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
util.c

diff --git a/util.c b/util.c
index 3d4b48021952ab1d8a7fa619c677c979875f2667..466729eceb5631f7b399a5978ebd7910b044086b 100644 (file)
--- a/util.c
+++ b/util.c
@@ -22,6 +22,7 @@
  * SOFTWARE.
  */
 #define GMQCC_PLATFORM_HEADER
+#include <stdlib.h>
 #include "gmqcc.h"
 #include "platform.h"