diff options
-rw-r--r-- | src/sigs.c | 4 | ||||
-rw-r--r-- | src/utils.c | 2 |
2 files changed, 6 insertions, 0 deletions
@@ -43,6 +43,10 @@ #include "calcurse.h" +#ifndef WAIT_MYPGRP +#define WAIT_MYPGRP 0 +#endif + /* * General signal handling routine. * Catch return values from children (user-defined notification commands). diff --git a/src/utils.c b/src/utils.c index 8e76547..0ba3a87 100644 --- a/src/utils.c +++ b/src/utils.c @@ -523,8 +523,10 @@ get_tempdir (void) { if (getenv ("TMPDIR")) return getenv ("TMPDIR"); +#ifdef P_tmpdir else if (P_tmpdir) return P_tmpdir; +#endif else return "/tmp"; } |