Fix implicit declaration of g_close()
authorColin Leroy <colin@colino.net>
Fri, 28 Sep 2018 13:26:59 +0000 (15:26 +0200)
committerColin Leroy <colin@colino.net>
Fri, 28 Sep 2018 13:26:59 +0000 (15:26 +0200)
src/plugins/archive/libarchive_archive.c

index ed37ed5..32f75bf 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <glib.h>
 #include <glib/gi18n.h>
+#include <glib/gstdio.h>
 
 #include "libarchive_archive.h"
 
@@ -44,7 +45,6 @@
 #include <string.h>
 #include <unistd.h>
 #include <dirent.h>
-#include <glib.h>
 #include <libgen.h>
 
 #define READ_BLOCK_SIZE 10240