1.2 stdlib: include SDL_config.h so we can see if HAVE_QSORT is actually set. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Wed, 30 Mar 2016 13:30:59 -0400
branchSDL-1.2
changeset 10125 b1d2398f2655
parent 10124 000274d62b7e
child 10178 e49caa693be5
1.2 stdlib: include SDL_config.h so we can see if HAVE_QSORT is actually set.
src/stdlib/SDL_qsort.c
--- a/src/stdlib/SDL_qsort.c	Wed Mar 30 13:30:19 2016 -0400
+++ b/src/stdlib/SDL_qsort.c	Wed Mar 30 13:30:59 2016 -0400
@@ -19,6 +19,8 @@
   3. This notice may not be removed or altered from any source distribution.
 */
 
+#include "SDL_config.h"
+
 #ifndef HAVE_QSORT
 
 #ifdef assert