Skip to content

Commit c482c2c

Browse files
committed
URL: correct header inclusion
`assert.h` is universally available and required for the use of `assert`.
1 parent 512e412 commit c482c2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CoreFoundation/URL.subproj/CFURL.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <stdatomic.h>
1818
#include <CoreFoundation/CFStringEncodingConverter.h>
1919
#include <stdatomic.h>
20+
#include <assert.h>
2021
#include <limits.h>
2122
#include <stdlib.h>
2223
#include <stdio.h>
@@ -25,7 +26,6 @@
2526
#if TARGET_OS_OSX
2627
#include <CoreFoundation/CFNumberFormatter.h>
2728
#endif
28-
#include <assert.h>
2929
#include <unistd.h>
3030
#include <sys/stat.h>
3131
#include <sys/types.h>

0 commit comments

Comments
 (0)