$NetBSD: patch-ae,v 1.1.1.1.8.2 2014/12/27 11:59:22 plunky Exp $

--- bluetooth/l2cap.h.orig	2009-11-30 19:29:17.000000000 +0000
+++ bluetooth/l2cap.h
@@ -30,6 +30,7 @@
 extern "C" {
 #endif
 
+#if 0
 #include <sys/socket.h>
 
 /* L2CAP defaults */
@@ -66,6 +67,7 @@ struct l2cap_conninfo {
 #define L2CAP_LM_TRUSTED	0x0008
 #define L2CAP_LM_RELIABLE	0x0010
 #define L2CAP_LM_SECURE		0x0020
+#endif
 
 /* L2CAP command codes */
 #define L2CAP_COMMAND_REJ	0x01
