packages/libs/libsigar/patches/020-sysmacros.patch
Rosen Penev b97f32ec44
libsigar: Add missing header
The new version of musl does not include this header internally anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-08-02 16:57:23 -07:00

10 lines
256 B
Diff

--- 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>