X-Git-Url: https://git.exim.org/users/heiko/exim.git/blobdiff_plain/5d4d1346f7b25ca758f0d13778e229376784700b..d8710e24c47bf5d7c3dc3a77127d08e4568dc335:/src/OS/os.h-SunOS5 diff --git a/src/OS/os.h-SunOS5 b/src/OS/os.h-SunOS5 index 45a1171c8..f51b009ef 100644 --- a/src/OS/os.h-SunOS5 +++ b/src/OS/os.h-SunOS5 @@ -37,4 +37,17 @@ it seems. */ #endif +/* SunOS5 doesn't accept getcwd(NULL, 0) to auto-allocate +a buffer */ + +#define OS_GETCWD + + +#ifndef MIN +# define MIN(a,b) (((a)<(b))?(a):(b)) +# define MAX(a,b) (((a)>(b))?(a):(b)) +#endif + +extern char * strndup(const char *, size_t); + /* End */