libsigar: Add missing header

The new version of musl does not include this header internally anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from b97f32ec44)
This commit is contained in:
Rosen Penev
2019-08-02 16:45:45 -07:00
parent 99465dd993
commit a0b194199c
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
--- a/src/os/linux/linux_sigar.c
+++ b/src/os/linux/linux_sigar.c
@@ -23,6 +23,7 @@
#include <linux/param.h>
#include <sys/param.h>
#include <sys/stat.h>
+#include <sys/sysmacros.h>
#include <sys/times.h>
#include <sys/utsname.h>
#include <mntent.h>