vboox-utils: fix compilation with glibc >= 2.28
This commit is contained in:
parent
ef36017274
commit
b6f4daf85e
1 changed files with 13 additions and 0 deletions
13
srcpkgs/vboot-utils/patches/fix-glibc-2.28.patch
Normal file
13
srcpkgs/vboot-utils/patches/fix-glibc-2.28.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/cgpt/cgpt_wrapper.c b/cgpt/cgpt_wrapper.c
|
||||
index 62635f3f..b27a3eef 100644
|
||||
--- cgpt/cgpt_wrapper.c
|
||||
+++ cgpt/cgpt_wrapper.c
|
||||
@@ -20,6 +20,7 @@
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
+#include <sys/sysmacros.h>
|
||||
|
||||
#include "cgpt.h"
|
||||
#include "cgpt_nor.h"
|
||||
|
Loading…
Reference in a new issue