Ticket #5565: libs_libmythupnp-recursive-includes.patch

File libs_libmythupnp-recursive-includes.patch, 769 bytes (added by Erik Hovland <erik@…>, 12 years ago)

removes upnp.h include directive from upnptasknotify.h

  • mythtv/libs/libmythupnp/upnptasknotify.h

    When header files include each other it can create a recursive include. The nastiest problem with this sort of defect is that a class can look different depending on how it is compiled into the code that uses it. But that is probably not the case with this problem.
    From: Erik Hovland <erik@hovland.org>
     mythtv/libs/libmythupnp/upnptasknotify.h |    1 -
     1 files changed, 0 insertions(+), 1 deletions(-)
    diff --git a/mythtv/libs/libmythupnp/upnptasknotify.h b/mythtv/libs/libmythupnp/upnptasknotify.h
    index fceb735..aea5454 100644
    a b  
    2222#include <q3socketdevice.h>
    2424// MythTV headers
    25 #include "upnp.h"
    2625#include "multicast.h"
    2726#include "compat.h"