commit | d0d7980b7c71c95fd0ddc491b2e60260c604d04b | [log] [tgz] |
---|---|---|
author | User <emarques@gcc101.hackershells.com> | Thu Aug 05 13:26:25 2010 -0700 |
committer | David Lamparter <equinox@opensourcerouting.org> | Wed Feb 04 06:07:54 2015 +0100 |
tree | c106d72196bf237f9ea4bcbdb8745143990b325d | |
parent | 9f4e191bb0c639a21c69b3d139349040283fa941 [diff] [blame] |
[pim] Compile fixes for FreeBSD.
diff --git a/pimd/pim_igmp_join.c b/pimd/pim_igmp_join.c index 7183997..693a42b 100644 --- a/pimd/pim_igmp_join.c +++ b/pimd/pim_igmp_join.c
@@ -20,10 +20,16 @@ $QuaggaId: $Format:%an, %ai, %h$ $ */ +#include <sys/types.h> +#include <sys/socket.h> #include <string.h> #include "pim_igmp_join.h" +#ifndef SOL_IP +#define SOL_IP IPPROTO_IP +#endif + #ifndef MCAST_JOIN_SOURCE_GROUP #define MCAST_JOIN_SOURCE_GROUP 46 struct group_source_req