vboox-utils: fix compilation with glibc >= 2.28

This commit is contained in:
maxice8 2018-11-04 12:47:24 -02:00
parent ef36017274
commit b6f4daf85e
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View 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"