$NetBSD: patch-ae,v 1.2 2012/02/15 09:30:23 plunky Exp $

--- lib/l2cap.h.orig	2012-02-29 18:23:20.000000000 +0000
+++ lib/l2cap.h
@@ -31,6 +31,7 @@
 extern "C" {
 #endif
 
+#if 0
 #include <sys/socket.h>
 
 /* L2CAP defaults */
@@ -70,6 +71,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
