[gssdp] Do not use PKTINFO on OS X



commit 3a0ddc6858b8e25615ed02eef34eb3430c5c37e7
Author: Jens Georg <mail jensge org>
Date:   Sun Apr 24 22:17:02 2016 +0200

    Do not use PKTINFO on OS X
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762324

 libgssdp/gssdp-client.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgssdp/gssdp-client.c b/libgssdp/gssdp-client.c
index 3c1f677..7e6c43e 100644
--- a/libgssdp/gssdp-client.c
+++ b/libgssdp/gssdp-client.c
@@ -1243,7 +1243,7 @@ socket_source_cb (GSSDPSocketSource *socket_source, GSSDPClient *client)
                 goto out;
         }
 
-#ifdef HAVE_PKTINFO
+#if defined(HAVE_PKTINFO) && !defined(__APPLE__)
         {
                 int i;
                 for (i = 0; i < num_messages; i++) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]