From: Alex Badea Date: Sun, 20 Jun 2010 12:42:46 +0000 (+0300) Subject: src: add headers needed when building with dpkg X-Git-Url: http://git.maemo.org/git/?p=espeaktime;a=commitdiff_plain;h=bf036d15e099e6070a316171a6652f28615c67a5;hp=d71bad4196d0ae2f8650cabc04029e80c893bf21;ds=inline src: add headers needed when building with dpkg --- diff --git a/src/applet.c b/src/applet.c index 2fd3a44..bf87eb3 100644 --- a/src/applet.c +++ b/src/applet.c @@ -1,4 +1,5 @@ #include +#include #include #include #include diff --git a/src/config.c b/src/config.c index 8eadd3f..19f89e0 100644 --- a/src/config.c +++ b/src/config.c @@ -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)