Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1408: add missing header that defines m_len on AIX 64-bit mode #1409

Merged
merged 1 commit into from
Feb 14, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions psutil/arch/aix/net_kernel_structs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -30,7 +31,7 @@
#define tcpcb64 tcpcb
#define unpcb64 unpcb
#define mbuf64 mbuf
#else
#else /* __64BIT__ */
struct file64 {
int f_flag;
int f_count;
Expand Down Expand Up @@ -107,4 +108,4 @@ struct mbuf64

#define m_len m_hdr.mh_len

#endif
#endif /* __64BIT__ */