Browse Source

zebra: Fix some warnings found during compile.

This commit fixes some warnings found in Martin's Testbed
that compiles sun solaris and freebsd images.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Donald Sharp 3 years ago
parent
commit
4f84737dee
4 changed files with 4 additions and 0 deletions
  1. 1 0
      zebra/if_ioctl.c
  2. 1 0
      zebra/if_ioctl_solaris.c
  3. 1 0
      zebra/ioctl_solaris.c
  4. 1 0
      zebra/rtread_getmsg.c

+ 1 - 0
zebra/if_ioctl.c

@@ -30,6 +30,7 @@
 #include "memory.h"
 #include "log.h"
 #include "vrf.h"
+#include "vty.h"
 
 #include "zebra/interface.h"
 #include "zebra/rib.h"

+ 1 - 0
zebra/if_ioctl_solaris.c

@@ -31,6 +31,7 @@
 #include "log.h"
 #include "privs.h"
 #include "vrf.h"
+#include "vty.h"
 
 #include "zebra/interface.h"
 #include "zebra/ioctl_solaris.h"

+ 1 - 0
zebra/ioctl_solaris.c

@@ -28,6 +28,7 @@
 #include "ioctl.h"
 #include "log.h"
 #include "privs.h"
+#include "vty.h"
 
 #include "zebra/rib.h"
 #include "zebra/rt.h"

+ 1 - 0
zebra/rtread_getmsg.c

@@ -26,6 +26,7 @@
 #include "log.h"
 #include "if.h"
 #include "vrf.h"
+#include "vty.h"
 
 #include "zebra/rib.h"
 #include "zebra/zserv.h"