diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2026-05-09 19:04:32 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2026-05-09 19:04:32 +0000 |
| commit | f851b268c586329731b9a213e20360d2ef0f108a (patch) | |
| tree | 17ec4666cb166a40dd708abd47f1153189ff495f /src | |
| parent | ab1db58a33aa10d04cc556a24ad612cec6e3802c (diff) | |
| download | execline-f851b268c586329731b9a213e20360d2ef0f108a.tar.gz | |
Prepare for 2.9.9.1. Correctly include locale.h when necessary.
Diffstat (limited to 'src')
| -rw-r--r-- | src/execline/wait.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/execline/wait.c b/src/execline/wait.c index 26ac5d3..6886c0c 100644 --- a/src/execline/wait.c +++ b/src/execline/wait.c @@ -4,9 +4,6 @@ #include <sys/wait.h> #include <errno.h> -#ifdef EXECLINE_PEDANTIC_POSIX -#include <locale.h> -#endif #include <skalibs/types.h> #include <skalibs/envexec.h> @@ -18,6 +15,10 @@ #include <execline/config.h> #include <execline/execline.h> +#ifdef EXECLINE_PEDANTIC_POSIX +#include <locale.h> +#endif + #define USAGE "wait [ -I | -i ] [ -a | -o ] [ -r | -t timeout ] { pids... } [ prog... ]" #define dieusage() strerr_dieusage(100, USAGE) |
