aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-02-10 16:29:50 +0000
committerFrederic Culot <calcurse@culot.org>2008-02-10 16:29:50 +0000
commit52340fa0e132766e9a0d1e5a95d45282725cdf97 (patch)
treea54b7b3410ba13453c87f0a1efeb7923839c740d /src/utils.c
parent886466310798ee9d63191cff05d57c4e9528b32e (diff)
downloadcalcurse-52340fa0e132766e9a0d1e5a95d45282725cdf97.tar.gz
calcurse-52340fa0e132766e9a0d1e5a95d45282725cdf97.zip
memory leak fixed in notify_thread_app()
check for limits.h header added asprintf() call replaced in wins_launch_external() as it is not fully portable
Diffstat (limited to 'src/utils.c')
-rwxr-xr-xsrc/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index bad5d88..6cdc246 100755
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,4 +1,4 @@
-/* $calcurse: utils.c,v 1.41 2008/01/20 10:45:39 culot Exp $ */
+/* $calcurse: utils.c,v 1.42 2008/02/10 16:29:50 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -27,6 +27,7 @@
#include <time.h>
#include <string.h>
#include <stdlib.h>
+#include <limits.h>
#include <unistd.h>
#include <ctype.h>
#include <sys/types.h>