Use the right #define value to check whether WinPcap has
[obnox/wireshark/wip.git] / capture-wpcap.c
index f0918bcf8f758446e7febce7700a99a247469ba8..7ffb80c78394d0442a9fd5186cc4c1cb68e2465b 100644 (file)
@@ -105,7 +105,7 @@ static int  (*p_pcap_list_datalinks)(pcap_t *, int **);
 static int     (*p_pcap_set_datalink)(pcap_t *, int);
 #endif
 
-#ifdef HAVE_FREE_DATALINKS
+#ifdef HAVE_PCAP_FREE_DATALINKS
 static int     (*p_pcap_free_datalinks)(int *);
 #endif