summaryrefslogtreecommitdiffstats
path: root/avahi-daemon
diff options
context:
space:
mode:
authorSebastien Estienne <sebastien.estienne@gmail.com>2006-05-02 15:10:31 +0000
committerSebastien Estienne <sebastien.estienne@gmail.com>2006-05-02 15:10:31 +0000
commitd0a63590d4730eb0af3ec6027818cb62d50ea657 (patch)
treed8d6ffcee0522b8c7e5910e168b033d8a6dca5b1 /avahi-daemon
parent1a944fb979cf994bdf3b669248f8508394c1697b (diff)
Patch from Padraig O'Briain <Padraig.Obriain@sun.com> to build avahi on Solaris
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1206 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon')
-rw-r--r--avahi-daemon/simple-protocol.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/avahi-daemon/simple-protocol.c b/avahi-daemon/simple-protocol.c
index 740f78b..04b07c7 100644
--- a/avahi-daemon/simple-protocol.c
+++ b/avahi-daemon/simple-protocol.c
@@ -49,6 +49,13 @@
#include "chroot.h"
#endif
+#ifndef AF_LOCAL
+#define AF_LOCAL AF_UNIX
+#endif
+#ifndef PF_LOCAL
+#define PF_LOCAL PF_UNIX
+#endif
+
#define BUFFER_SIZE (20*1024)
#define CLIENTS_MAX 50