giampaolo / psutil

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

Include CoreFoundation/CoreFoundation.h #2364

Closed ryandesign closed 3 months ago

ryandesign commented 5 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 5 months ago

Can you also update HISTORY and CREDITS files?