Mercurial > dovecot > core-2.2
changeset 3593:fa4cbca22d26 HEAD
Add _XPG6 macro if needed..
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 18 Sep 2005 20:37:17 +0300 |
parents | 5434d427df49 |
children | f1b407e8debb |
files | src/auth/mycrypt.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/mycrypt.c Sun Sep 18 20:36:51 2005 +0300 +++ b/src/auth/mycrypt.c Sun Sep 18 20:37:17 2005 +0300 @@ -2,6 +2,9 @@ #define _XOPEN_SOURCE_EXTENDED 1 /* 1 needed for AIX */ #define _XOPEN_VERSION 4 #define _XPG4_2 +#ifdef CRYPT_USE_XPG6 +# define _XPG6 /* Some Solaris versions require this, some break with this */ +#endif #include <unistd.h> #include "mycrypt.h"