Skip to content

Commit 604718e

Browse files
committed
#import <stdarg.h> problem went away with rebuild
1 parent a0457a5 commit 604718e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

CoreFoundation/Base.subproj/SwiftRuntime/CoreFoundation.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
1515
*/
1616

17-
#include <stdarg.h> // required here to avoid an ambiguity on Android compile
18-
1917
#if !defined(__COREFOUNDATION_COREFOUNDATION__)
2018
#define __COREFOUNDATION_COREFOUNDATION__ 1
2119
#define __COREFOUNDATION__ 1
@@ -39,10 +37,11 @@
3937
#include <stdio.h>
4038
#include <stdlib.h>
4139
#include <string.h>
40+
#include <time.h>
41+
4242
#if __has_include(<netdb.h>)
43-
#include <netdb.h>
43+
#include <netdb.h> // for NSHost.swift
4444
#endif
45-
#include <time.h>
4645

4746
#if defined(__STDC_VERSION__) && (199901L <= __STDC_VERSION__)
4847

0 commit comments

Comments
 (0)