*: zebra.h should not have fcntl.h

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2024-01-04 16:22:05 -05:00
parent 33744ae4fc
commit c6d94a7056
26 changed files with 32 additions and 1 deletions

View File

@ -5,6 +5,8 @@ Copyright 2011 by Matthieu Boutier and Juliusz Chroboczek
/* include zebra library */
#include <zebra.h>
#include <fcntl.h>
#include "getopt.h"
#include "if.h"
#include "log.h"

View File

@ -11,6 +11,7 @@ Copyright 2011, 2012 by Matthieu Boutier and Juliusz Chroboczek
#include <sys/time.h>
#include <sys/param.h>
#include <time.h>
#include <fcntl.h>
#include "babeld.h"

View File

@ -11,6 +11,8 @@
*/
#include <zebra.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/un.h>

View File

@ -4,6 +4,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#include "zebra.h"
#include "stream.h"

View File

@ -8,6 +8,9 @@
*/
#include <zebra.h>
#include <fcntl.h>
#if ISIS_METHOD == ISIS_METHOD_BPF
#include <net/if.h>
#include <netinet/if_ether.h>

View File

@ -9,6 +9,8 @@
*/
#include <zebra.h>
#include <fcntl.h>
#include <sys/wait.h>
#include "ldpd.h"

View File

@ -9,6 +9,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#include "ldpd.h"
#include "ldpe.h"

View File

@ -4,6 +4,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#ifdef SNMP_AGENTX
#include <net-snmp/net-snmp-config.h>

View File

@ -12,6 +12,8 @@
#include <zebra.h>
#include <sys/utsname.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <lib/version.h>
#include "command.h"

View File

@ -8,6 +8,7 @@
#include <zebra.h>
#include <sys/stat.h>
#include <sys/un.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/wait.h>

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#ifdef HAVE_NETNS
#undef _GNU_SOURCE

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#include "log.h"
#include "network.h"
#include "lib_errors.h"

View File

@ -5,6 +5,8 @@
*/
#include <zebra.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <lib/version.h>
#include <sys/types.h>

View File

@ -18,7 +18,6 @@
#include <stddef.h>
#include <ctype.h>
#include <errno.h>
#include <fcntl.h>
#include <signal.h>
#include <string.h>
#include <pwd.h>

View File

@ -5,6 +5,7 @@
#include "zebra.h"
#include <sys/stat.h>
#include <fcntl.h>
#ifdef HAVE_GLIBC_BACKTRACE
#include <execinfo.h>

View File

@ -13,6 +13,7 @@
*/
#include "zebra.h"
#include <fcntl.h>
#include "frrsendmmsg.h"

View File

@ -5,6 +5,7 @@
#include "zebra.h"
#include <fcntl.h>
#include <sys/un.h>
#include <syslog.h>

View File

@ -5,6 +5,7 @@
#include "zebra.h"
#include <fcntl.h>
#include <errno.h>
#include <linux/if_packet.h>
#include <sys/ioctl.h>

View File

@ -10,6 +10,7 @@
#include <string.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <fcntl.h>
#include "frrevent.h"
#include "zbuf.h"

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>

View File

@ -7,6 +7,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#include "qobj.h"
#include "vty.h"

View File

@ -7,6 +7,7 @@
#include <zebra.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "frrevent.h"
#include <log.h>

View File

@ -4,6 +4,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#ifdef HAVE_NETLINK
#include <linux/netlink.h>

View File

@ -6,6 +6,7 @@
* Donald Sharp
*/
#include <zebra.h>
#include <fcntl.h>
#ifdef HAVE_NETLINK /* Netlink OSes only */

View File

@ -6,6 +6,7 @@
#include <zebra.h>
#include <sys/stat.h>
#include <fcntl.h>
#ifdef GNU_LINUX
#include <linux/if_link.h>

View File

@ -5,6 +5,7 @@
*/
#include <zebra.h>
#include <fcntl.h>
#ifdef HAVE_NETLINK
#ifdef HAVE_NETNS