From d843195fdef17198d9d1b2af625b484904b44c6e Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sat, 16 Aug 2008 09:08:03 -0300 Subject: [PATCH] Fix some building issues --- movie.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/movie.c b/movie.c index 6c48c1a..56da26a 100644 --- a/movie.c +++ b/movie.c @@ -16,10 +16,11 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#define _GNU_SOURCE #include - #include #include +#include #include "point.h" @@ -77,8 +78,7 @@ ReadPoints (char *filename) Point last; Point rect; file = fopen (filename, "r"); - points = g_array_new (FALSE, TRUE, sizeof (SDL_Rect)); - names = g_ptr_array_new (); + points = g_array_new (FALSE, TRUE, sizeof (Point)); buffer = NULL; len = 0; rect.x = rect.y = 0; -- 2.20.1