diff options
| author | Juergen Lock <nox@FreeBSD.org> | 2011-03-26 19:20:47 +0000 |
|---|---|---|
| committer | Juergen Lock <nox@FreeBSD.org> | 2011-03-26 19:20:47 +0000 |
| commit | 32777e78a4d6211eb29c25c27c96fbdd6bc11c54 (patch) | |
| tree | 01d3655c95ac704947161f269ae4d6c58b3fa3ee /multimedia/vdr-plugin-streamdev/files/patch-server-componentIGMP.c | |
| parent | 396d80a6a16224480543c5a23139b64f461fac37 (diff) | |
Notes
Diffstat (limited to 'multimedia/vdr-plugin-streamdev/files/patch-server-componentIGMP.c')
| -rw-r--r-- | multimedia/vdr-plugin-streamdev/files/patch-server-componentIGMP.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/multimedia/vdr-plugin-streamdev/files/patch-server-componentIGMP.c b/multimedia/vdr-plugin-streamdev/files/patch-server-componentIGMP.c new file mode 100644 index 000000000000..74c7aa0ee5ca --- /dev/null +++ b/multimedia/vdr-plugin-streamdev/files/patch-server-componentIGMP.c @@ -0,0 +1,28 @@ +--- server/componentIGMP.c.orig ++++ server/componentIGMP.c +@@ -1,9 +1,24 @@ + /* + * $Id: componentIGMP.c,v 1.2 2009/07/03 21:44:19 schmirl Exp $ + */ ++#include <sys/types.h> ++#include <netinet/in.h> + #include <netinet/ip.h> + #include <netinet/igmp.h> +- ++ ++#ifndef IGMP_MEMBERSHIP_QUERY ++#define IGMP_MEMBERSHIP_QUERY IGMP_HOST_MEMBERSHIP_QUERY ++#endif ++#ifndef IGMP_V1_MEMBERSHIP_REPORT ++#define IGMP_V1_MEMBERSHIP_REPORT IGMP_v1_HOST_MEMBERSHIP_REPORT ++#endif ++#ifndef IGMP_V2_MEMBERSHIP_REPORT ++#define IGMP_V2_MEMBERSHIP_REPORT IGMP_v2_HOST_MEMBERSHIP_REPORT ++#endif ++#ifndef IGMP_V2_LEAVE_GROUP ++#define IGMP_V2_LEAVE_GROUP IGMP_HOST_LEAVE_MESSAGE ++#endif ++ + #include "server/componentIGMP.h" + #include "server/connectionIGMP.h" + #include "server/setup.h" |
