Include CoreFoundation and libdispatch in Foundation.h if available.

This more closely aligns Foundation.h with the Apple version if CoreBase and/or libdispatch are available.
This commit is contained in:
Frederik Seiffert 2019-05-14 12:59:13 +02:00
parent 5dac91ce3f
commit 1ff040df10

View file

@ -150,4 +150,13 @@
#import <Foundation/NSXMLParser.h>
#import <Foundation/NSZone.h>
#ifdef __has_include
# if __has_include(<CoreFoundation/CoreFoundation.h>)
# include <CoreFoundation/CoreFoundation.h>
# endif
# if __has_include(<dispatch/dispatch.h>)
# include <dispatch/dispatch.h>
# endif
#endif
#endif /* __Foundation_h_GNUSTEP_BASE_INCLUDE */