Commit 09ae4df5bf99f217b76ca19c863c2297838b079f

Ryan C. Gordon 2016-02-15T03:37:01

Another attempt to fix Windows build.

diff --git a/src/stdlib/SDL_qsort.c b/src/stdlib/SDL_qsort.c
index 8aa403f..12799eb 100644
--- a/src/stdlib/SDL_qsort.c
+++ b/src/stdlib/SDL_qsort.c
@@ -40,7 +40,7 @@ https://bitbucket.org/pdclib/pdclib/raw/a82b02d0c7d4ed633b97f2a7639d9a10b1c92ec8
 The _PDCLIB_memswp macro was from
 https://bitbucket.org/pdclib/pdclib/src/a82b02d0c7d4ed633b97f2a7639d9a10b1c92ec8/platform/posix/internals/_PDCLIB_config.h?at=default&fileviewer=file-view-default#_PDCLIB_config.h-28
 
-Everything below this comment until the HAVE_QSORT #endif was from PDCLib.
+Everything below this comment until the HAVE_QSORT #endif was from PDCLib (minor changes noted inline).
 --ryan.
 */
 
@@ -52,7 +52,7 @@ Everything below this comment until the HAVE_QSORT #endif was from PDCLib.
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <stdlib.h>
+/* I commented this out. --ryan. #include <stdlib.h> */
 
 #ifndef REGTEST