From bf036d15e099e6070a316171a6652f28615c67a5 Mon Sep 17 00:00:00 2001 From: Alex Badea Date: Sun, 20 Jun 2010 15:42:46 +0300 Subject: [PATCH 1/1] src: add headers needed when building with dpkg --- src/applet.c | 1 + src/config.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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) -- 1.7.9.5