diff options
Diffstat (limited to 'src/regress/lib/libc/popen')
| -rw-r--r-- | src/regress/lib/libc/popen/popen.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
| 29 | * POSSIBILITY OF SUCH DAMAGE. | 29 | * POSSIBILITY OF SUCH DAMAGE. |
| 30 | */ | 30 | */ |
| 31 | 31 | ||
| 32 | #include <sys/param.h> | ||
| 33 | 32 | ||
| 34 | #include <err.h> | 33 | #include <err.h> |
| 35 | #include <errno.h> | 34 | #include <errno.h> |
| 36 | #include <paths.h> | 35 | #include <paths.h> |
| 37 | #include <stdio.h> | 36 | #include <stdio.h> |
| 38 | #include <stdlib.h> | 37 | #include <stdlib.h> |
| 38 | #include <limits.h> | ||
| 39 | #include <time.h> | 39 | #include <time.h> |
| 40 | #include <unistd.h> | 40 | #include <unistd.h> |
| 41 | 41 | ||
| @@ -47,7 +47,7 @@ | |||
| 47 | int | 47 | int |
| 48 | main(int argc, char **argv) | 48 | main(int argc, char **argv) |
| 49 | { | 49 | { |
| 50 | char *buffer, command[MAXPATHLEN]; | 50 | char *buffer, command[PATH_MAX]; |
| 51 | int index, in; | 51 | int index, in; |
| 52 | FILE *pipe; | 52 | FILE *pipe; |
| 53 | 53 | ||
