]> granicus.if.org Git - fcron/commitdiff
bug fix : always include getloadavg.h
authorthib <thib>
Fri, 12 Sep 2003 20:53:34 +0000 (20:53 +0000)
committerthib <thib>
Fri, 12 Sep 2003 20:53:34 +0000 (20:53 +0000)
database.c
fcron.h
fcrondyn.c

index ae8f239ee5edae332d5900d7e7daba8afb0c3b39..adca7e502fd8161361ec141d3f1975ae636ec8b0 100644 (file)
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: database.c,v 1.68 2003-07-14 10:52:44 thib Exp $ */
+ /* $Id: database.c,v 1.69 2003-09-12 20:55:18 thib Exp $ */
 
 #include "fcron.h"
 
 #include "database.h"
 #include "job.h"
+#include "getloadavg.h"
 
 int is_leap_year(int year);
 int get_nb_mdays(int year, int mon);
diff --git a/fcron.h b/fcron.h
index 8e57c215254d650ab9180b91bdf4a2785da4e61b..4e78c5b3d9109724ea9e246f798fc98bda013c0e 100644 (file)
--- a/fcron.h
+++ b/fcron.h
@@ -21,7 +21,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: fcron.h,v 1.29 2002-10-28 17:53:21 thib Exp $ */
+ /* $Id: fcron.h,v 1.30 2003-09-12 20:54:53 thib Exp $ */
 
 #ifndef __FCRON_H__
 #define __FCRON_H__
 #include <sys/time.h>
 #endif
 
-#ifndef HAVE_GETLOADAVG
-#include "getloadavg.h"
-#endif
-
 /* global variables */
 extern time_t now;
 extern char debug_opt;
index 361bb649c3ede749319e96c3afffee783e56bb6c..69532ddf39335b44883d58a3c9b893acc01ece74 100644 (file)
@@ -22,7 +22,7 @@
  *  `LICENSE' that comes with the fcron source distribution.
  */
 
- /* $Id: fcrondyn.c,v 1.8 2002-10-28 17:50:24 thib Exp $ */
+ /* $Id: fcrondyn.c,v 1.9 2003-09-12 20:53:34 thib Exp $ */
 
 /* fcrondyn : interact dynamically with running fcron process :
  *     - list jobs, with their status, next time of execution, etc
@@ -34,8 +34,9 @@
 #include "fcrondyn.h"
 #include "allow.h"
 #include "read_string.h"
+#include "getloadavg.h"
 
-char rcs_info[] = "$Id: fcrondyn.c,v 1.8 2002-10-28 17:50:24 thib Exp $";
+char rcs_info[] = "$Id: fcrondyn.c,v 1.9 2003-09-12 20:53:34 thib Exp $";
 
 void info(void);
 void usage(void);