vp-build/srcpkgs/vboot-utils/patches/fix-glibc-2.28.patch

14 lines
294 B
Diff

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"