-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Andrew Rynhard <[email protected]>
- Loading branch information
1 parent
f60526c
commit 1a7a75c
Showing
5 changed files
with
64 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 1a74985b2a404639b08882c57f3147229605dfd5 Mon Sep 17 00:00:00 2001 | ||
From: Mike Frysinger <[email protected]> | ||
Date: Tue, 19 Apr 2016 06:50:31 -0400 | ||
Subject: extlinux: pull in sys/sysmacros.h for major/minor/makedev | ||
|
||
These functions are defined in sys/sysmacros.h, so add the include to | ||
main.c. This is already handled correctly in mountinfo.c. Otherwise | ||
we get build failures like: | ||
|
||
main.o: In function 'find_device_sysfs': | ||
extlinux/main.c:1131: undefined reference to 'minor' | ||
|
||
Signed-off-by: Mike Frysinger <[email protected]> | ||
Signed-off-by: Gene Cumm <[email protected]> | ||
--- | ||
extlinux/main.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/extlinux/main.c b/extlinux/main.c | ||
index a7ebd49a..ebff7eae 100644 | ||
--- a/extlinux/main.c | ||
+++ b/extlinux/main.c | ||
@@ -38,6 +38,7 @@ | ||
#include <sysexits.h> | ||
#include <sys/ioctl.h> | ||
#include <sys/stat.h> | ||
+#include <sys/sysmacros.h> | ||
#include <sys/types.h> | ||
#include <sys/mount.h> | ||
#include <sys/vfs.h> | ||
-- | ||
cgit v1.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters