diff options
| -rw-r--r-- | hardinfo2/util.c | 2 | ||||
| -rw-r--r-- | shell/callbacks.c | 2 | ||||
| -rw-r--r-- | shell/syncmanager.c | 3 | 
3 files changed, 6 insertions, 1 deletions
diff --git a/hardinfo2/util.c b/hardinfo2/util.c index cbabcc53..86f2a4d2 100644 --- a/hardinfo2/util.c +++ b/hardinfo2/util.c @@ -90,7 +90,7 @@ gchar *seconds_to_string(unsigned int seconds)  {      unsigned int hours, minutes, days;      const gchar *days_fmt, *hours_fmt, *minutes_fmt, *seconds_fmt; -    gchar *full_fmt, *ret = g_strdup(""); +    gchar *full_fmt=NULL, *ret = g_strdup("");      minutes = seconds / 60;      seconds %= 60; diff --git a/shell/callbacks.c b/shell/callbacks.c index c60487d9..89fe4e32 100644 --- a/shell/callbacks.c +++ b/shell/callbacks.c @@ -18,6 +18,8 @@  #include <stdlib.h>  #include <gtk/gtk.h> +#include <glib.h> +#include <glib/gstdio.h>  #include "hardinfo.h"  #include "callbacks.h" diff --git a/shell/syncmanager.c b/shell/syncmanager.c index 4608eb7d..ad2c119a 100644 --- a/shell/syncmanager.c +++ b/shell/syncmanager.c @@ -23,6 +23,9 @@  #include <libsoup/soup.h> +#include <glib.h> +#include <glib/gstdio.h> +  #include <stdarg.h>  #include <string.h>  #include <fcntl.h>  | 
