$NetBSD: patch-ab,v 1.2 2006/03/06 22:16:53 joerg Exp $

--- cddb.c.orig	Wed Jun  6 00:47:58 2001
+++ cddb.c	Sat Mar 23 20:13:05 2002
@@ -45,7 +45,7 @@
 #include <stdlib.h>
 #include <sys/socket.h>
 #include <sys/types.h>
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__)
 # include <arpa/inet.h>
 #else
 # include <netinet/in.h>
