From 5c751af7b4b499f4949e1080f2039554acd63d20 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Tue, 19 Sep 2006 10:34:16 +0000 Subject: 2006-09-19 Marcus Brinkmann * assuan-pipe-connect.c: Add hacks for Slowaris. * assuan-socket.c: Likewise here. --- src/assuan-pipe-connect.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/assuan-pipe-connect.c') 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 -- cgit v1.2.3