$OpenBSD: patch-hccontrol_hccontrol_h,v 1.1.1.1 2005/07/16 20:49:46 grange Exp $
--- hccontrol/hccontrol.h.orig	Sat Jul 16 01:18:28 2005
+++ hccontrol/hccontrol.h	Sat Jul 16 01:18:56 2005
@@ -32,6 +32,10 @@
 #ifndef _HCCONTROL_H_
 #define _HCCONTROL_H_
 
+#ifdef __OpenBSD__
+#define le16toh letoh16
+#endif
+
 #define	OK			0	/* everything was OK */
 #define	ERROR			1	/* could not execute command */
 #define	FAILED			2	/* error was reported */
