summaryrefslogtreecommitdiff
path: root/x11-misc/spacefm/files/spacefm-include-sysmacros.patch
blob: 28bbfc7c40571d4e42c92a64618b975b29aa6be7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/src/vfs/vfs-volume-nohal.c
+++ b/src/vfs/vfs-volume-nohal.c
@@ -36,6 +36,7 @@
 
 #include <signal.h>  // kill
 #include <linux/kdev_t.h>  // MAJOR MINOR
+#include <sys/sysmacros.h> // needed for dev_t
  
 #ifdef HAVE_STATVFS
 #include <sys/statvfs.h>
--- a/src/main.c
+++ b/src/main.c
@@ -30,6 +30,8 @@
 
 #include <locale.h>
 
+#include <sys/sysmacros.h> /* for major/minor, dev_t */
+
 #include "main-window.h"
 
 #include "vfs-file-info.h"