diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-02-01 08:38:54 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2007-02-01 08:38:54 +0000 |
commit | 4755299358151ccb8f0fd14b0ada55be0ae8eb71 (patch) | |
tree | 8b247d4de216d562d9098f553b2ccbfd382558b1 /pcapio.c | |
parent | b1a499190e06ece71f8b74c8a1d77126cd2f6324 (diff) |
there is no point in pcapio unless we have PCAP available.
svn path=/trunk/; revision=20663
Diffstat (limited to 'pcapio.c')
-rw-r--r-- | pcapio.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,5 @@ +#ifdef HAVE_LIBPCAP + /* pcapio.c * Our own private code for writing libpcap files when capturing. * @@ -184,3 +186,5 @@ libpcap_dump_close(FILE *pd, int *err) } return TRUE; } + +#endif /* HAVE_LIBPCAP */ |