aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
Diffstat (limited to 'pbx')
-rwxr-xr-xpbx/pbx_gtkconsole.c2
-rwxr-xr-xpbx/pbx_spool.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pbx/pbx_gtkconsole.c b/pbx/pbx_gtkconsole.c
index e6388bbbf..86755d245 100755
--- a/pbx/pbx_gtkconsole.c
+++ b/pbx/pbx_gtkconsole.c
@@ -32,8 +32,8 @@
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
+#include <signal.h>
#include <sys/time.h>
-#include <sys/signal.h>
#include <gtk/gtk.h>
#include <glib.h>
diff --git a/pbx/pbx_spool.c b/pbx/pbx_spool.c
index 3c256956f..d51c17e9c 100755
--- a/pbx/pbx_spool.c
+++ b/pbx/pbx_spool.c
@@ -243,7 +243,7 @@ static int scan_service(char *fn, time_t now, time_t atime)
if (o->retries <= o->maxretries + 1) {
/* Add a retry line at the end */
fseek(f, 0L, SEEK_END);
- fprintf(f, "Retry: %d (%ld)\n", o->retries, now);
+ fprintf(f, "Retry: %d (%ld)\n", o->retries, (long) now);
fclose(f);
now += o->retrytime;
launch_service(o);