net/bpf.h is not included on kfreebsd-* and possibly hurd, which makes
package ns2 FTBFS on those archs. The following code snip could be
used to determine whether it is included, result:

Debian Sid GNU/Linux: included.
Debian Sid GNU/kfreebsd: _not_ included.
FreeBSD: included. (Asked on #freebsd, not asked about the OS version)

While at the same time, ns2 could be built on Linux and FreeBSD, but
not on Debian GNU/kfreebsd-* or hurd.

Please reassign this bug accordingly if necessary.

#include <stdio.h>
#include <pcap.h>

main(){
#ifdef _NET_BPF_H_
        printf("net/bpf.h is included.\n");
#else
        printf("net/bpf.h is *not* included.\n");
#endif
}

-- 
Regards,
Aron Xu



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to