mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 18:37:06 +00:00
lib: Fix missing __be16 typedef on CentOS6
Need to include linux/types.h on older Linux Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
This commit is contained in:
parent
a5586bb6be
commit
beec2cfe57
@ -52,7 +52,9 @@ typedef unsigned char uint8_t;
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#ifdef HAVE_SYS_SYSCTL_H
|
#ifdef HAVE_SYS_SYSCTL_H
|
||||||
#ifndef GNU_LINUX
|
#ifdef GNU_LINUX
|
||||||
|
#include <linux/types.h>
|
||||||
|
#else
|
||||||
#include <sys/sysctl.h>
|
#include <sys/sysctl.h>
|
||||||
#endif
|
#endif
|
||||||
#endif /* HAVE_SYS_SYSCTL_H */
|
#endif /* HAVE_SYS_SYSCTL_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user