src: add headers needed when building with dpkg
authorAlex Badea <vamposdecampos@gmail.com>
Sun, 20 Jun 2010 12:42:46 +0000 (15:42 +0300)
committerAlex Badea <vamposdecampos@gmail.com>
Sun, 20 Jun 2010 12:42:46 +0000 (15:42 +0300)
src/applet.c
src/config.c

index 2fd3a44..bf87eb3 100644 (file)
@@ -1,4 +1,5 @@
 #include <unistd.h>
+#include <string.h>
 #include <gtk/gtk.h>
 #include <hildon/hildon.h>
 #include <hildon-cp-plugin/hildon-cp-plugin-interface.h>
index 8eadd3f..19f89e0 100644 (file)
@@ -74,7 +74,7 @@ void cfg_speak(struct espeaktime_settings *cfg, gboolean test_mode)
 
        pid = fork();
        if (pid < 0) {
-               perror("fork");
+               g_print("fork: %s", g_strerror(errno));
                return;
        }
        if (pid)