Skip to content

Commit 7c7225a

Browse files
Merge pull request swiftlang#4899 from kateinoigakukun/pr-f57925e663dfa963eeb242915a3ea289b3211842
[wasm] Include syslog.h only if available
2 parents fbae263 + 5a60991 commit 7c7225a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/URL.subproj/CFURL.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include <sys/types.h>
3232
#if __has_include(<sys/syslog.h>)
3333
#include <sys/syslog.h>
34-
#else
34+
#elif __has_include(<syslog.h>)
3535
#include <syslog.h>
3636
#endif
3737
#include <CoreFoundation/CFURLPriv.h>

0 commit comments

Comments
 (0)