diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2022-05-06 12:36:51 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2022-05-06 15:10:57 +0200 | 
| commit | 993e3d8e131ab729f86bfd01f031093dc4827d87 (patch) | |
| tree | ed2851d0ffc8a5d0bf80f0134b60bf13ff44cf2a /pimd/pim_sock.h | |
| parent | 1b00ed5f6510a227e1b1da92f1802ca565823083 (diff) | |
pimd: un-dependency-hell `pim_instance.h`
This is causing build issues on BSD by including (transitively)
`linux/mroute6.h` - try to address by disentangling the headers a bunch.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_sock.h')
| -rw-r--r-- | pimd/pim_sock.h | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_sock.h b/pimd/pim_sock.h index 2e9c043e84..ea9f7009bc 100644 --- a/pimd/pim_sock.h +++ b/pimd/pim_sock.h @@ -35,6 +35,8 @@  #define PIM_SOCK_ERR_NAME    (-10) /* Socket name (getsockname) */  #define PIM_SOCK_ERR_BIND    (-11) /* Can't bind to interface */ +struct pim_instance; +  int pim_socket_bind(int fd, struct interface *ifp);  void pim_socket_ip_hdr(int fd);  int pim_socket_raw(int protocol);  | 
