diff --git a/library/net.c b/library/net.c index a53c4ab21..a0c141ad1 100644 --- a/library/net.c +++ b/library/net.c @@ -59,7 +59,8 @@ static int wsa_init_done = 0; #include #include -#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ + defined(__DragonflyBSD__) #include #elif defined(__APPLE__) #include