diff options
author | Marcus Brinkmann <[email protected]> | 2006-09-19 10:34:16 +0000 |
---|---|---|
committer | Marcus Brinkmann <[email protected]> | 2006-09-19 10:34:16 +0000 |
commit | 5c751af7b4b499f4949e1080f2039554acd63d20 (patch) | |
tree | c67684dc6fc7f48a0b5d88ce1d4c78b11ceec02c /src/assuan-pipe-connect.c | |
parent | 2006-09-19 Marcus Brinkmann <[email protected]> (diff) | |
download | libassuan-5c751af7b4b499f4949e1080f2039554acd63d20.tar.gz libassuan-5c751af7b4b499f4949e1080f2039554acd63d20.zip |
2006-09-19 Marcus Brinkmann <[email protected]>
* assuan-pipe-connect.c: Add hacks for Slowaris.
* assuan-socket.c: Likewise here.
Diffstat (limited to 'src/assuan-pipe-connect.c')
-rw-r--r-- | src/assuan-pipe-connect.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/assuan-pipe-connect.c b/src/assuan-pipe-connect.c index d389741..6260e86 100644 --- a/src/assuan-pipe-connect.c +++ b/src/assuan-pipe-connect.c @@ -39,6 +39,18 @@ #include "assuan-defs.h" +/* Hacks for Slowaris. */ +#ifndef PF_LOCAL +# ifdef PF_UNIX +# define PF_LOCAL PF_UNIX +# else +# define PF_LOCAL AF_UNIX +# endif +#endif +#ifndef AF_LOCAL +# define AF_LOCAL AF_UNIX +#endif + #ifdef _POSIX_OPEN_MAX #define MAX_OPEN_FDS _POSIX_OPEN_MAX #else |