src/video/x11/edid-parse.c
changeset 10030 061b1b467bd3
parent 8922 dfb6f8611ebe
child 10701 62f7dd0acd13
     1.1 --- a/src/video/x11/edid-parse.c	Tue Jan 05 02:27:50 2016 -0500
     1.2 +++ b/src/video/x11/edid-parse.c	Tue Jan 05 02:29:16 2016 -0500
     1.3 @@ -21,6 +21,8 @@
     1.4   */
     1.5  
     1.6  /* Author: Soren Sandmann <sandmann@redhat.com> */
     1.7 +#include "../../SDL_internal.h"
     1.8 +#include "SDL_stdinc.h"
     1.9  
    1.10  #include "edid.h"
    1.11  #include <stdlib.h>
    1.12 @@ -247,7 +249,7 @@
    1.13      high = (high << 2) | low;
    1.14  
    1.15      for (i = 0; i < 10; ++i)
    1.16 -	result += get_bit (high, i) * pow (2, i - 10);
    1.17 +	result += get_bit (high, i) * SDL_pow (2, i - 10);
    1.18  
    1.19      return result;
    1.20  }