projects
/
project
/
fstools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19d7d93
)
libfstools: fix build with glibc
author
Daniel Golle
<daniel@makrotopia.org>
Fri, 5 Mar 2021 01:33:22 +0000
(
01:33
+0000)
committer
Daniel Golle
<daniel@makrotopia.org>
Fri, 5 Mar 2021 01:33:22 +0000
(
01:33
+0000)
stropts.h which is unavailable under glibc (and not needed
when building against glibc). Include it only if not building
against glibc.
Reported by: @DazzyWalkman
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libfstools/common.h
patch
|
blob
|
history
diff --git
a/libfstools/common.h
b/libfstools/common.h
index 6798a54839256e436c42f4ce1a321d87ac1241f4..eeb24dbd89cdbb851031eaba4215a4790b7434a3 100644
(file)
--- a/
libfstools/common.h
+++ b/
libfstools/common.h
@@
-11,7
+11,9
@@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#ifndef __GLIBC__
#include <stropts.h>
+#endif
#include <dirent.h>
#include <fcntl.h>
#include <unistd.h>