Message ID | 20240908121217.967390-2-liezhi.yang@windriver.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [nfs-utils,1/2] support/include/junction.h: Define macros for musl | expand |
diff --git a/support/junction/path.c b/support/junction/path.c index 13a14386..dd0f59a0 100644 --- a/support/junction/path.c +++ b/support/junction/path.c @@ -23,6 +23,12 @@ * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt */ +/* For musl */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif +#include <limits.h> + #include <sys/types.h> #include <sys/stat.h>