summaryrefslogtreecommitdiff
path: root/libre-testing/jfsutils/sysmacros.patch
blob: 82f9d632ac53ec98d30be6625cb03fa3780bcefc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>