Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 1 | From c35a8cb24e8adafb11cbc261de37d97244e55927 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 11 Aug 2018 10:08:27 -0700 |
| 4 | Subject: [PATCH] panel-plugin: Include sys/sysmacros.h for major/minor |
| 5 | MIME-Version: 1.0 |
| 6 | Content-Type: text/plain; charset=UTF-8 |
| 7 | Content-Transfer-Encoding: 8bit |
| 8 | |
| 9 | glibc 2.28+ needs it |
| 10 | |
| 11 | Upstream-Status: Pending |
| 12 | |
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 14 | Cc: Andreas MΓΌller <schnitzeltony@googlemail.com> |
| 15 | --- |
| 16 | panel-plugin/devperf.c | 1 + |
| 17 | 1 file changed, 1 insertion(+) |
| 18 | |
| 19 | diff --git a/panel-plugin/devperf.c b/panel-plugin/devperf.c |
| 20 | index 175fd44..cb2e88a 100644 |
| 21 | --- a/panel-plugin/devperf.c |
| 22 | +++ b/panel-plugin/devperf.c |
| 23 | @@ -34,6 +34,7 @@ |
| 24 | #include <errno.h> |
| 25 | #include <sys/time.h> |
| 26 | /* for major() and minor() */ |
| 27 | +#include <sys/sysmacros.h> |
| 28 | #define _BSD_SOURCE |
| 29 | #include <sys/types.h> |
| 30 | |