blob: 31134ab634917dc95dfd0e4e3255a961c413a1a3 (
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
25
26
27
28
|
From ea5fc8da36886490d0ee40d475733cd98e38c2ec Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Tue, 28 Aug 2018 18:35:55 -0400
Subject: [PATCH] gbm.c: include <sys/sysmacros.h> for minor/major in new glibc
glibc 2.28+ now requires this.
https://sourceware.org/bugzilla/show_bug.cgi?id=19239
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
gbm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gbm.c b/gbm.c
index c046b1a..9356d7b 100644
--- a/gbm.c
+++ b/gbm.c
@@ -35,6 +35,7 @@
#include <stdint.h>
#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
--
2.7.4
|