syslinux/0003-extlinux-fix-missing-include-for-major-minor.patch

28 lines
647 B
Diff

From f2bad087b524546d349c79e62ea8f6a1306d800a Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Fri, 10 Aug 2018 05:03:38 -0400
Subject: [PATCH] extlinux: fix missing include for major()/minor()
Resolves: rhbz#1611751
Signed-off-by: Peter Jones <syslinux-owner@fedoraproject.org>
---
extlinux/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/extlinux/main.c b/extlinux/main.c
index a7ebd49a948..69bb1644547 100644
--- a/extlinux/main.c
+++ b/extlinux/main.c
@@ -41,6 +41,7 @@
#include <sys/types.h>
#include <sys/mount.h>
#include <sys/vfs.h>
+#include <sys/sysmacros.h>
#include "linuxioctl.h"
--
2.17.1