diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-20 21:47:37 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-20 21:47:37 +0000 |
commit | ff0f694d466fb114c185bf464811658f97d012f1 (patch) | |
tree | 1eef0becdabdf6a9902d265a84fc9bf9fd9389d5 /cpukit/libnetworking/sys/param.h | |
parent | changed version to 980820-BSD (diff) | |
download | rtems-ff0f694d466fb114c185bf464811658f97d012f1.tar.bz2 |
Fixed many warnings.
Diffstat (limited to 'cpukit/libnetworking/sys/param.h')
-rw-r--r-- | cpukit/libnetworking/sys/param.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libnetworking/sys/param.h b/cpukit/libnetworking/sys/param.h index 31551c7e06..21a9758520 100644 --- a/cpukit/libnetworking/sys/param.h +++ b/cpukit/libnetworking/sys/param.h @@ -42,6 +42,8 @@ #ifndef _SYS_PARAM_H_ #define _SYS_PARAM_H_ +#include <unistd.h> + #define BSD 199506 /* System version (year & month). */ #define BSD4_3 1 #define BSD4_4 1 @@ -168,7 +170,9 @@ * It should be set high enough to allow all legitimate uses, but halt * infinite loops reasonably quickly. */ +#if !defined(__rtems__) #define MAXPATHLEN PATH_MAX +#endif #define MAXSYMLINKS 32 /* Bit map related macros. */ |