Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 6a9d597

Browse files
authored
Merge pull request #1 from SwiftJava/fix/android-sysmacros
Reorder includes in dispatch.h for Android
2 parents 81bb34b + a011e1e commit 6a9d597

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dispatch/dispatch.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
#ifndef __DISPATCH_PUBLIC__
2222
#define __DISPATCH_PUBLIC__
2323

24+
#include <sys/types.h>
25+
2426
#ifdef __APPLE__
2527
#include <Availability.h>
2628
#include <os/availability.h>
@@ -30,7 +32,6 @@
3032
#include <os/linux_base.h>
3133
#endif
3234

33-
#include <sys/types.h>
3435
#include <stddef.h>
3536
#include <stdint.h>
3637
#include <stdbool.h>

0 commit comments

Comments
 (0)