diff options
author | Marcus Brinkmann <mb@g10code.com> | 2006-09-19 10:34:16 +0000 |
---|---|---|
committer | Marcus Brinkmann <mb@g10code.com> | 2006-09-19 10:34:16 +0000 |
commit | 5c751af7b4b499f4949e1080f2039554acd63d20 (patch) | |
tree | c67684dc6fc7f48a0b5d88ce1d4c78b11ceec02c /src/assuan-socket.c | |
parent | d1401bc81525cfffa8463ea2937f6d86627d502a (diff) | |
download | libassuan-5c751af7b4b499f4949e1080f2039554acd63d20.tar.gz |
2006-09-19 Marcus Brinkmann <marcus@g10code.de>
* assuan-pipe-connect.c: Add hacks for Slowaris.
* assuan-socket.c: Likewise here.
Diffstat (limited to 'src/assuan-socket.c')
-rw-r--r-- | src/assuan-socket.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/assuan-socket.c b/src/assuan-socket.c index 6fff03a..6aa5708 100644 --- a/src/assuan-socket.c +++ b/src/assuan-socket.c @@ -30,6 +30,18 @@ #endif #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 + int _assuan_close (int fd) { |