openbsd-ports/net/bluetooth-tools/patches/patch-hccontrol_hccontrol_h
grange 2867c34305 Import bluetooth-tools, a few Bluetooth network tools
derived from FreeBSD.

Help and ok sturm@.
2005-07-16 20:49:46 +00:00

15 lines
446 B
Plaintext

$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 */