Skip to content

Commit

Permalink
Solaris 10 doesn't know AF_LOCAL
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Dec 23, 2010
1 parent ba55932 commit 65b472a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/anet.h
Expand Up @@ -35,6 +35,10 @@
#define ANET_ERR -1
#define ANET_ERR_LEN 256

#if defined(__sun)
#define AF_LOCAL AF_UNIX
#endif

int anetTcpConnect(char *err, char *addr, int port);
int anetTcpNonBlockConnect(char *err, char *addr, int port);
int anetUnixConnect(char *err, char *path);
Expand Down

0 comments on commit 65b472a

Please sign in to comment.