mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-18 03:35:34 -04:00
Merge pull request #149 from nanosapp/feature/fix-build-muslc
muslc: Fix build
This commit is contained in:
commit
675b7b90e7
@ -33,3 +33,13 @@ struct ovl_plugin *plugin_find (struct ovl_plugin_context *context, const char *
|
|||||||
struct ovl_plugin_context *load_plugins (const char *plugins);
|
struct ovl_plugin_context *load_plugins (const char *plugins);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* taken from glibc unistd.h and fixes musl */
|
||||||
|
#ifndef TEMP_FAILURE_RETRY
|
||||||
|
#define TEMP_FAILURE_RETRY(expression) \
|
||||||
|
(__extension__ \
|
||||||
|
({ long int __result; \
|
||||||
|
do __result = (long int) (expression); \
|
||||||
|
while (__result == -1L && errno == EINTR); \
|
||||||
|
__result; }))
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user