diff options
author | wiggin15 <arnony@infinidat.com> | 2019-02-14 22:50:06 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2019-02-14 12:50:06 -0800 |
commit | 2fad87fbc62fb360c93e85e5e7b8475f74a419f8 (patch) | |
tree | ee23f99596cf90d463beba34857527cb9545f3bc | |
parent | 3f9643f2357e887bff3ab4ecf093b9f28fa53fe9 (diff) | |
download | psutil-2fad87fbc62fb360c93e85e5e7b8475f74a419f8.tar.gz |
Fix #1408: add missing header that defines m_len on AIX 64-bit mode (#1409)
-rw-r--r-- | psutil/arch/aix/net_kernel_structs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/psutil/arch/aix/net_kernel_structs.h b/psutil/arch/aix/net_kernel_structs.h index 09f320ff..4e7a088c 100644 --- a/psutil/arch/aix/net_kernel_structs.h +++ b/psutil/arch/aix/net_kernel_structs.h @@ -18,6 +18,7 @@ #include <sys/protosw.h> #include <sys/unpcb.h> #include <sys/mbuf_base.h> +#include <sys/mbuf_macro.h> #include <netinet/ip_var.h> #include <netinet/tcp.h> #include <netinet/tcpip.h> @@ -30,7 +31,7 @@ #define tcpcb64 tcpcb #define unpcb64 unpcb #define mbuf64 mbuf -#else +#else /* __64BIT__ */ struct file64 { int f_flag; int f_count; @@ -107,4 +108,4 @@ struct mbuf64 #define m_len m_hdr.mh_len -#endif
\ No newline at end of file +#endif /* __64BIT__ */
\ No newline at end of file |