summaryrefslogtreecommitdiffstats
path: root/newlib/libc/posix/execvp.c
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2000-11-21 23:57:25 +0000
committerJeff Johnston <jjohnstn@redhat.com>2000-11-21 23:57:25 +0000
commit5478bf376fb3d280f7eef7da7dfaaea97dd8b353 (patch)
tree1eca3b228a7c25994ecfc501dbfa917cd2bb344b /newlib/libc/posix/execvp.c
parent6126c12345d31cdd4714b3bb40ba54f13347016d (diff)
downloadcygnal-5478bf376fb3d280f7eef7da7dfaaea97dd8b353.tar.gz
cygnal-5478bf376fb3d280f7eef7da7dfaaea97dd8b353.tar.bz2
cygnal-5478bf376fb3d280f7eef7da7dfaaea97dd8b353.zip
2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/unistd.h: Removed definition of MAXNAMLEN. * libc/include/dirent.h: Added definition of MAXNAMLEN if not defined by sys/dirent.h. * libc/posix/execvp.c: Added include of dirent.h to get MAXNAMLEN value which used to be in unistd.h.
Diffstat (limited to 'newlib/libc/posix/execvp.c')
-rw-r--r--newlib/libc/posix/execvp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/posix/execvp.c b/newlib/libc/posix/execvp.c
index 1b30f0760..1f58b8d93 100644
--- a/newlib/libc/posix/execvp.c
+++ b/newlib/libc/posix/execvp.c
@@ -6,6 +6,7 @@
#include <_ansi.h>
#include <stdlib.h>
#include <unistd.h>
+#include <dirent.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>