diff options
Diffstat (limited to 'watchquagga/watchquagga.c')
-rw-r--r-- | watchquagga/watchquagga.c | 27 |
1 files changed, 5 insertions, 22 deletions
diff --git a/watchquagga/watchquagga.c b/watchquagga/watchquagga.c index fb1dbdd8..e67c61d5 100644 --- a/watchquagga/watchquagga.c +++ b/watchquagga/watchquagga.c @@ -1,5 +1,5 @@ /* - $Id: watchquagga.c,v 1.6 2004/12/23 19:35:56 paul Exp $ + $Id: watchquagga.c,v 1.7 2004/12/29 17:39:10 ajs Exp $ Monitor status of quagga daemons and restart if necessary. @@ -20,31 +20,14 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* System headers: */ -#include <sys/types.h> -#include <sys/socket.h> -#include <sys/un.h> -#include <unistd.h> -#include <stdlib.h> -#include <stdio.h> -#include <signal.h> -#include <fcntl.h> -#include <errno.h> -#include <time.h> -#include <string.h> -#include <sys/time.h> -#include <sys/wait.h> - -/* Quagga headers: */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - +#include <zebra.h> #include <thread.h> #include <log.h> #include <sigevent.h> -#include <version.h> +#include <lib/version.h> #include <getopt.h> +#include <sys/un.h> +#include <sys/wait.h> #ifndef MIN #define MIN(X,Y) (((X) <= (Y)) ? (X) : (Y)) |