Skip to content

Commit 2d21eca

Browse files
committed
internal: Move shims include so DISPATCH_INTERNAL_CRASH is defined
Fixes the build on powerpc64le under Linux. Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
1 parent d137aa4 commit 2d21eca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/internal.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -624,10 +624,6 @@ _dispatch_fork_becomes_unsafe(void)
624624
#define DISPATCH_PERF_MON 0
625625
#endif
626626

627-
/* #includes dependent on internal.h */
628-
#include "shims.h"
629-
#include "event/event_internal.h"
630-
631627
// Older Mac OS X and iOS Simulator fallbacks
632628

633629
#if HAVE_PTHREAD_WORKQUEUES
@@ -939,6 +935,10 @@ _dispatch_ktrace_impl(uint32_t code, uint64_t a, uint64_t b,
939935
free(_msg); \
940936
} while (0)
941937

938+
/* #includes dependent on internal.h */
939+
#include "shims.h"
940+
#include "event/event_internal.h"
941+
942942
#define DISPATCH_NO_VOUCHER ((voucher_t)(void*)~0ul)
943943
#define DISPATCH_NO_PRIORITY ((pthread_priority_t)~0ul)
944944
DISPATCH_ENUM(dispatch_thread_set_self, unsigned long,

0 commit comments

Comments
 (0)