From 8d21fee22ec79324eef6e9a88c83bd6cf32315d6 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Mon, 13 Dec 2021 16:56:48 +0000 Subject: remove a couple hundred sys/param.h includes in userland code, and also whack some sys/cdefs.h early includes which is such a brutally bad pattern ok bluhm mbuhl --- src/regress/lib/libc/popen/popen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/regress/lib/libc/popen/popen.c') diff --git a/src/regress/lib/libc/popen/popen.c b/src/regress/lib/libc/popen/popen.c index 916cb71b03..2e081de584 100644 --- a/src/regress/lib/libc/popen/popen.c +++ b/src/regress/lib/libc/popen/popen.c @@ -29,13 +29,13 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include #include #include #include #include #include +#include #include #include @@ -47,7 +47,7 @@ int main(int argc, char **argv) { - char *buffer, command[MAXPATHLEN]; + char *buffer, command[PATH_MAX]; int index, in; FILE *pipe; -- cgit v1.2.3-55-g6feb