summaryrefslogtreecommitdiffstats
path: root/watchquagga
diff options
context:
space:
mode:
authorajs <ajs>2004-12-29 17:39:10 +0000
committerajs <ajs>2004-12-29 17:39:10 +0000
commitd782f35e5ffa2d22919ee81684b130d63a120e49 (patch)
treec917533d00237c03f012d37fc74665ee41c04d7a /watchquagga
parentb3a40946da86762b149a4c386bfb523870b94347 (diff)
downloadquagga-d782f35e5ffa2d22919ee81684b130d63a120e49.tar.bz2
quagga-d782f35e5ffa2d22919ee81684b130d63a120e49.tar.xz
2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* watchquagga.c: Fix headers: get most stuff from zebra.h.
Diffstat (limited to 'watchquagga')
-rw-r--r--watchquagga/ChangeLog4
-rw-r--r--watchquagga/watchquagga.c25
2 files changed, 8 insertions, 21 deletions
diff --git a/watchquagga/ChangeLog b/watchquagga/ChangeLog
index 4cea8b4e..28a3a297 100644
--- a/watchquagga/ChangeLog
+++ b/watchquagga/ChangeLog
@@ -1,3 +1,7 @@
+2004-12-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
+
+ * watchquagga.c: Fix headers: get most stuff from zebra.h.
+
2004-12-23 Paul Jakma <paul@dishone.st>
* watchquagga.c: Add missing getopt.h include
diff --git a/watchquagga/watchquagga.c b/watchquagga/watchquagga.c
index b66c6cdd..95631032 100644
--- a/watchquagga/watchquagga.c
+++ b/watchquagga/watchquagga.c
@@ -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))