Is my headers corrupted or something? or is something missing ? I already uninstalled and deleted everything and all the folders xcode made in /Library and did a fresh reinstall and yet im still gettin errors such as: Heres my command : clang -o racer racer.c -framework IOKit

Errors: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h:104:44: error: expected ‘;’ after top level declarator typedef uintptr_t vm_offset_t __kernel_ptr_semantics; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h:107:50: error: expected ‘;’ after top level declarator typedef uint64_t mach_vm_address_t __kernel_ptr_semantics; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h:108:49: error: expected ‘;’ after top level declarator typedef uint64_t mach_vm_offset_t __kernel_ptr_semantics; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h:111:48: error: expected ‘;’ after top level declarator typedef uint64_t vm_map_offset_t __kernel_ptr_semantics; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/arm/vm_types.h:112:49: error: expected ‘;’ after top level declarator typedef uint64_t vm_map_address_t __kernel_ptr_semantics; ^ In file included from racer.c:17: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/ Headers/IOKitLib.h:42: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h:85: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/memory_object_types.h:77: /Applications/Xcode.app/Contents/Developer /Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h:41:42: error: expected ‘;’ after top level declarator typedef vm_offset_t pointer_t __kernel_ptr_semantics; ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/vm_types.h:42:45: error: expected ‘;’ after top level declarator typedef vm_offset_t vm_address_t __kernel_ptr_semantics; ^ In file included from racer.c:17: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/ Headers/IOKitLib.h:42: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_types.h:89: / Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/mach/mach_voucher_types.h:216:50: error: expected ‘;’ after top level declarator typedef uint64_t mach_voucher_attr_value_handle_t __kernel_ptr_semantics; ^ In file included from racer.c:17: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/ Headers/IOKitLib.h:49: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/IOTypes.h:81 :49: error: expected ‘;’ after top level declarator typedef mach_vm_address_t IOVirtualAddress __kernel_ptr_semantics; ^ In file included from racer.c:17: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/ Headers/IOKitLib.h:52: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOKit.framework/Headers/OSMessage120Notification.h :53: error: expected ‘;’ after top level declarator typedef natural_t OSAsyncReference[kOSAsyncRefCount] __kernel_ptr_semantics; ^ racer.c:131:60: warning: cast to ‘void *’ from smaller integer type ‘uint32_t’ (aka ‘unsigned int’) [-Wint-to-void-pointer-cast]
pthread_create(&t, NULL, (void () (void )) race, (void) (uint32_t)queueID); ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 10 errors generated.