void-packages/srcpkgs/jfsutils/patches/jfsutils-1.1.15-sysmacros.p...

16 lines
272 B
Diff
Raw Normal View History

2018-11-30 12:01:23 +01:00
https://bugs.gentoo.org/580056
--- libfs/devices.c
+++ 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>