From 0391b0a9c3d31f5ffdd09d6490b1054b428d8acd Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 1 Jun 2011 15:31:11 +0200 Subject: osmo-client-core: Work with older pcap libraries --- src/osmo_client_core.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/osmo_client_core.c b/src/osmo_client_core.c index 04d2d25..d651b08 100644 --- a/src/osmo_client_core.c +++ b/src/osmo_client_core.c @@ -27,6 +27,10 @@ #include +#ifndef PCAP_NETMASK_UNKNOWN +#define PCAP_NETMASK_UNKNOWN 0xffffffff +#endif + static int pcap_read_cb(struct osmo_fd *fd, unsigned int what) { -- cgit v1.2.3