diff options
author | ToMe25 <ToMe25@gmx.de> | 2021-04-18 02:45:57 +0200 |
---|---|---|
committer | ToMe25 <ToMe25@gmx.de> | 2021-04-18 02:45:57 +0200 |
commit | 9e68eb94c38914fc82990c8716767691fb6610de (patch) | |
tree | b2793f17bd685b832a8631e5434df9ef2838a427 | |
parent | 5714b6089cecbbc78dd2fa20dc1a55fde24c7b6d (diff) | |
download | libgtop-9e68eb94c38914fc82990c8716767691fb6610de.tar.gz |
Fix compilation issues in sysdeps/openbsd/netload.c
-rw-r--r-- | sysdeps/openbsd/netload.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysdeps/openbsd/netload.c b/sysdeps/openbsd/netload.c index 6591b4f9..60c6ae9a 100644 --- a/sysdeps/openbsd/netload.c +++ b/sysdeps/openbsd/netload.c @@ -34,12 +34,16 @@ #include <sys/ioctl.h> -#include <net/if_var.h> - #include <netinet/in.h> + +#include <sys/malloc.h> + #define _KERNEL +#include <net/if_var.h> + #include <netinet/in_var.h> #undef _KERNEL + #include <netinet6/in6_var.h> static const unsigned long _glibtop_sysdeps_netload = |