diff options
Diffstat (limited to 'src/boards/gtans_support.c')
-rw-r--r-- | src/boards/gtans_support.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/boards/gtans_support.c b/src/boards/gtans_support.c index 9891b88..2590ced 100644 --- a/src/boards/gtans_support.c +++ b/src/boards/gtans_support.c @@ -1,14 +1,17 @@ - - +/* + * DO NOT EDIT THIS FILE - it is generated by Glade. + */ #ifdef HAVE_CONFIG_H # include <config.h> #endif -#include "strings.h" +#include <sys/types.h> +#include <sys/stat.h> +#include <unistd.h> +#include <string.h> #include "gcompris/gcompris.h" -#include <glib/gstdio.h> #include "gtans_support.h" @@ -147,7 +150,7 @@ check_file_exists (const gchar *directory, strcat (full_filename, G_DIR_SEPARATOR_S); strcat (full_filename, filename); - status = g_stat (full_filename, &s); + status = stat (full_filename, &s); if (status == 0 && S_ISREG (s.st_mode)) return full_filename; g_free (full_filename); |