We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e7856e commit a535573Copy full SHA for a535573
dispatch/dispatch.h
@@ -34,6 +34,10 @@
34
#include <unistd.h>
35
#include <fcntl.h>
36
37
+#if defined(__linux__) && defined(__DISPATCH_BUILDING_SWIFT_MODULE__)
38
+#include <stdio.h> // for off_t
39
+#endif
40
+
41
#ifndef __OSX_AVAILABLE_STARTING
42
#define __OSX_AVAILABLE_STARTING(x, y)
43
#endif
dispatch/io.h
@@ -26,10 +26,6 @@
26
#include <dispatch/base.h> // for HeaderDoc
27
28
29
-#ifdef __DISPATCH_BUILDING_SWIFT_MODULE__
30
-#include <stdio.h>
31
-#endif
32
-
33
__BEGIN_DECLS
/*! @header
0 commit comments