Include <fcntl.h> before testing for O_NONBLOCK and <limits.h> before

testing for PATH_MAX to increase the chances of getting the real value.
DEVEL_2_0_BRANCH-1
Petter Reinholdtsen 2001-02-22 09:41:47 +00:00
rodzic ab2ffde5f3
commit 703c9c00c2
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -9,6 +9,7 @@
#endif
#ifndef HAVE_OS2_H
#include <fcntl.h>
#ifndef O_NONBLOCK
# ifdef O_NDELAY
# define O_NONBLOCK O_NDELAY
@ -18,6 +19,7 @@
#endif
#endif /* HAVE_OS2_H */
#include <limits.h>
#ifndef PATH_MAX
# define PATH_MAX 1024
#endif