* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#define _GNU_SOURCE
#include <glib.h>
-
#include <stdio.h>
#include <stdlib.h>
+#include <ctype.h>
#include "point.h"
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;