aboutsummaryrefslogtreecommitdiffstats
path: root/cthread.c
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-05-09 00:47:30 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-05-09 00:47:30 +0100
commit260123716172d33f44bdc0e4e5422554d139215c (patch)
tree840e8e6387b96bd6f9afe3ffebc19c781a112f1b /cthread.c
parent0b624384cd52be20e61284551d832b499d7b7707 (diff)
downloadlibphidget21-260123716172d33f44bdc0e4e5422554d139215c.tar.gz
Imported Upstream version 2.1.8.20120507upstream/2.1.8.20120507
Diffstat (limited to 'cthread.c')
-rw-r--r--cthread.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cthread.c b/cthread.c
index 4ab5e8a..86f2f9b 100644
--- a/cthread.c
+++ b/cthread.c
@@ -5,6 +5,10 @@
#include "cusb.h"
#include "cphidgetlist.h"
+#if defined(_MACOSX) && !defined(_IPHONE)
+#include "macusb.h"
+#endif
+
CThread_func_return_t CentralThreadFunction(CThread_func_arg_t arg);
static CThread CentralThread;
@@ -112,7 +116,7 @@ JoinCentralThread()
}
/*
- * registers a device to recieve events and be polled by the central
+ * registers a device to receive events and be polled by the central
* thread This needs to start the central thread if it's not yet
* running.
*/