Revision: 109 http://trac.macosforge.org/projects/libdispatch/changeset/109 Author: robert@fledge.watson.org Date: 2009-11-03 08:49:10 -0800 (Tue, 03 Nov 2009) Log Message: ----------- Add include of queue_private.h so that dispatch_readsync is portable. Modified Paths: -------------- trunk/testing/Makefile.am trunk/testing/dispatch_readsync.c Modified: trunk/testing/Makefile.am =================================================================== --- trunk/testing/Makefile.am 2009-11-03 16:36:18 UTC (rev 108) +++ trunk/testing/Makefile.am 2009-11-03 16:49:10 UTC (rev 109) @@ -15,6 +15,7 @@ dispatch_group \ dispatch_pingpong \ dispatch_read \ + dispatch_readsync \ dispatch_sema \ dispatch_timer_bit31 \ dispatch_timer_bit63 @@ -37,7 +38,6 @@ BROKEN_TESTS= \ dispatch_cffd \ dispatch_proc \ - dispatch_readsync \ dispatch_starfish \ dispatch_timer_set_time Modified: trunk/testing/dispatch_readsync.c =================================================================== --- trunk/testing/dispatch_readsync.c 2009-11-03 16:36:18 UTC (rev 108) +++ trunk/testing/dispatch_readsync.c 2009-11-03 16:49:10 UTC (rev 109) @@ -19,6 +19,8 @@ */ #include <dispatch/dispatch.h> +#define __DISPATCH_INDIRECT__ +#include "src/queue_private.h" #include <pthread.h> #include <stdio.h> #include <stdint.h>