linamh/sys-fs/jfsutils/files/jfsutils-1.1.15-sysmacros.patch

16 lines
276 B
Diff
Raw Normal View History

2022-03-01 11:46:08 +01:00
https://bugs.gentoo.org/580056
--- a/libfs/devices.c
+++ b/libfs/devices.c
@@ -30,6 +30,10 @@
#include <stdio.h>
#include <stdlib.h>
+#if HAVE_SYS_SYSMACROS_H
+#include <sys/sysmacros.h>
+#endif
+
#ifdef HAVE_SYS_MOUNT_H
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>