summaryrefslogtreecommitdiff
path: root/xfce-extra/xfce4-diskperf-plugin/files/xfce4-diskperf-plugin-2.6.1-sysmacros.patch
blob: 13a8df73bfe28a94827e116f6e41b9b2eb4e4882 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From dd62d6dae6ad77b586af69faf8fdee8d7c87051b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sat, 21 Oct 2017 00:14:32 +0200
Subject: [PATCH] Add <sys/sysmacros.h> include required for glibc-2.25+

---
 panel-plugin/devperf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/panel-plugin/devperf.c b/panel-plugin/devperf.c
index 175fd44..9348c9e 100644
--- a/panel-plugin/devperf.c
+++ b/panel-plugin/devperf.c
@@ -35,6 +35,7 @@
 #include <sys/time.h>
 /* for major() and minor() */
 #define _BSD_SOURCE
+#include <sys/sysmacros.h>
 #include <sys/types.h>
 
 
-- 
2.15.0.rc1