#include <config.h>
#include <stdlib.h>
-#include <config.h>
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
struct netdev_bsd *netdev = netdev_bsd_cast(netdev_);
char errbuf[PCAP_ERRBUF_SIZE];
int error;
- int fd;
+ int fd = -1;
int one = 1;
if (netdev->netdev_fd >= 0) {