projects
/
project
/
make_ext4fs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eebda1d
)
make_ext4fs: fix build on musl systems
author
Johannes Kimmel
<freifunk@mail.bareminimum.eu>
Fri, 6 Dec 2019 17:05:16 +0000
(18:05 +0100)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Sat, 7 Dec 2019 13:49:14 +0000
(14:49 +0100)
Include sys/sysmacros.h on all systems, except MACOS.
The previous change only included the header on glibc systems:
3af931b0b6545757aaeadb13f9bb9da0296fc172
Signed-off-by: Johannes Kimmel <freifunk@mail.bareminimum.eu>
ext4_utils.h
patch
|
blob
|
history
diff --git
a/ext4_utils.h
b/ext4_utils.h
index a5c1ae0167da17c04cad34c63ee3bd8de7be6ec8..bfc48ed27ba27c00664329bb828807a5247b8b82 100644
(file)
--- a/
ext4_utils.h
+++ b/
ext4_utils.h
@@
-28,7
+28,7
@@
extern "C" {
#define _LARGEFILE64_SOURCE 1
#include <sys/types.h>
-#if
def __GLIBC
__
+#if
ndef __APPLE
__
#include <sys/sysmacros.h>
#endif