From f527e4ddeefb951769859527c63f9b18dfaf0853 Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 25 Feb 2009 15:03:59 +0000 Subject: [PATCH] * ecore/src/lib/ecore_con/ecore_con.c: Fix some typo and include. SVN revision: 39206 --- legacy/ecore/src/lib/ecore_con/ecore_con.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con.c b/legacy/ecore/src/lib/ecore_con/ecore_con.c index d9199ef5a4..2fe1a33426 100644 --- a/legacy/ecore/src/lib/ecore_con/ecore_con.c +++ b/legacy/ecore/src/lib/ecore_con/ecore_con.c @@ -14,6 +14,10 @@ #include #include +#ifndef HAVE_ABSTRACT_SOCKETS +#include +#endif + #include "Ecore.h" #include "ecore_private.h" #include "Ecore_Con.h" @@ -235,7 +239,7 @@ ecore_con_server_add(Ecore_Con_Type compl_type, const char *name, int port, socket_unix.sun_family = AF_UNIX; if (type == ECORE_CON_LOCAL_ABSTRACT) { -#ifdef HAVE_ABSTRACT_SOCKET +#ifdef HAVE_ABSTRACT_SOCKETS /* . is a placeholder */ snprintf(socket_unix.sun_path, sizeof(socket_unix.sun_path), ".%s", name); /* first char null indicates abstract namespace */