include $(top_srcdir)/Makefile.common
-INCLUDES = $(USRP_INCLUDES)
+INCLUDES = $(USRP_INCLUDES) $(OMNITHREAD_INCLUDES)
lib_LTLIBRARIES = libusrp.la
// tell mld_threads to NOT use omni_threads,
// but rather Darwin's pthreads
-#undef _USE_OMNI_THREADS_
+#define _USE_OMNI_THREADS_
#include <usb.h>
#include "fusb.h"
/* classes which allow for either pthreads or omni_threads */
+#define __macos__
#ifdef _USE_OMNI_THREADS_
-#include <gnuradio/omnithread.h>
+#include <omnithread.h>
#else
#include <pthread.h>
#endif