giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.32k stars 1.39k forks source link

Include CoreFoundation/CoreFoundation.h #2364

Closed ryandesign closed 8 months ago

ryandesign commented 10 months ago

Summary

Description

Include CoreFoundation/CoreFoundation.h

This is correct, since this file does use CoreFoundation types, and it is necessary because on old macOS versions IOKit/ps/IOPowerSources.h, which is already included and which also uses CoreFoundation types, forgot to include CoreFoundation/CoreFoundation.h.

giampaolo commented 10 months ago

Can you also update HISTORY and CREDITS files?