Make sure we have the vsscanf() prototype (thanks, Ozkan!).
authorRyan C. Gordon <icculus@icculus.org>
Thu, 28 May 2015 14:34:38 -0400
changeset 9670418e4dee26cb
parent 9669 1021c9bd0f64
child 9671 0e1f57b051f4
Make sure we have the vsscanf() prototype (thanks, Ozkan!).

issue seen with glibc-2.8.

Fixes Bugzilla #2721.
src/stdlib/SDL_string.c
     1.1 --- a/src/stdlib/SDL_string.c	Thu May 28 10:44:46 2015 -0700
     1.2 +++ b/src/stdlib/SDL_string.c	Thu May 28 14:34:38 2015 -0400
     1.3 @@ -23,6 +23,10 @@
     1.4  #define SDL_DISABLE_ANALYZE_MACROS 1
     1.5  #endif
     1.6  
     1.7 +#ifndef _GNU_SOURCE
     1.8 +#define _GNU_SOURCE 1
     1.9 +#endif
    1.10 +
    1.11  #include "../SDL_internal.h"
    1.12  
    1.13  /* This file contains portable string manipulation functions for SDL */