diff options
| author | Mark Stapp <mjs@voltanet.io> | 2020-01-22 08:22:48 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-22 08:22:48 -0500 |
| commit | 8015874dcd3fcdf46029ba73c01cac4ce712ca46 (patch) | |
| tree | 50807147ab7e7c437e85d29f3caf74fe1fff4a64 /lib/zebra.h | |
| parent | fa7f9d61eb941d7f28f997b5f4879118f0a4bf9c (diff) | |
| parent | beec2cfe5798a3d713f85db31039119ad32df1bd (diff) | |
Merge pull request #5710 from opensourcerouting/fix_centos6
lib: Fix missing __be16 typedef on CentOS6
Diffstat (limited to 'lib/zebra.h')
| -rw-r--r-- | lib/zebra.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/zebra.h b/lib/zebra.h index de9a347e1f..00d422cdd1 100644 --- a/lib/zebra.h +++ b/lib/zebra.h @@ -52,7 +52,9 @@ typedef unsigned char uint8_t; #include <sys/types.h> #include <sys/param.h> #ifdef HAVE_SYS_SYSCTL_H -#ifndef GNU_LINUX +#ifdef GNU_LINUX +#include <linux/types.h> +#else #include <sys/sysctl.h> #endif #endif /* HAVE_SYS_SYSCTL_H */ |
