Self-explaining.

--- src/modules/mixer/pa.c.orig 2011-12-02 00:47:27.000000000 +0000
+++ src/modules/mixer/pa.c
@@ -350,7 +350,9 @@ con(Pulse *conn, int type __UNUSED__, Ec
    INF("connected to %s", ecore_con_server_name_get(ev->server));
 
    conn->fd = dup(ecore_con_server_fd_get(ev->server));
+#ifdef SO_PASSCRED
    setsockopt(conn->fd, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
+#endif
    setsockopt(conn->fd, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on));
    fcntl(conn->fd, F_SETFL, O_NONBLOCK | FD_CLOEXEC);
    conn->fdh = ecore_main_fd_handler_add(conn->fd, ECORE_FD_WRITE, 
(Ecore_Fd_Cb)fdh_func, conn, NULL, NULL);

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to