Page MenuHome GnuPG

watchgnupg.c uses non-portable PF_LOCAL and AF_LOCAL
Closed, ResolvedPublic

Description

Environment

sparc-sun-solaris2.9
Compiler: Sun Studio 10

Description

PF_LOCAL and AF_LOCAL are non-portable.

How To Repeat

Compile on Solaris.

Fix

Use PF_UNIX and AF_UNIX instead. Linux #defines them as aliases for PF_LOCAL and AF_LOCAL, respectively.

Event Timeline

werner added a subscriber: werner.

Defined them if needed.