]> andersk Git - moira.git/blobdiff - lib/critical.c
lint
[moira.git] / lib / critical.c
index 3afcce545d73e751f83c3e009471ac8657de82ea..c0af33bf1f294564c6e836c7e1887b2226ecf4ee 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <mit-copyright.h>
 #include <stdio.h>
+#include <sys/types.h>
 #include <sys/file.h>
 #include <moira_site.h>
 #ifdef ZEPHYR
@@ -51,7 +52,7 @@ void critical_alert(instance, msg, arg1, arg2, arg3, arg4,
     /* Log message to critical file */
     if ((crit = fopen(CRITERRLOG, "a")) != (FILE *)NULL) 
     {
-       long t;
+       long t, time();
        char  *time_s;
 
        time(&t);
This page took 0.0394 seconds and 4 git commands to generate.