Skip to contentSkip to conversation

filters/sysfs: Fix missing sys/sysmacros.h

PATCH New Alessio Balsini 1 participant 1 message Jul 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 filters/sysfs: Fix missing sys/sysmacros.h

The missing sys/sysmacros.h header was causing building issues. Fixed.

---
 lib/filters/filter-sysfs.c | 1 +
 1 file changed, 1 insertion(+)
lib/filters/filter-sysfs.c +1 -0
index ebd16a2b..192d3da2 100644
@@ -18,6 +18,7 @@
 #ifdef linux
 
 #include <dirent.h>
+#include <sys/sysmacros.h>
 
 static int _locate_sysfs_blocks(const char *sysfs_dir, char *path, size_t len,
 				unsigned *sysfs_depth)
Signature · 1 line
2.22.0.709.g102302147b-goog