cpulimit icon indicating copy to clipboard operation
cpulimit copied to clipboard

Remove sys/sysctl.h and add missing libgen.h include

Open stephensp opened this issue 2 years ago • 2 comments

  • sys/sysctl.h has been deprecated and should be removed
  • Adds missing libgen.h include when calling basename()

stephensp avatar May 01 '22 03:05 stephensp

Works for me, thanks!

ffainelli avatar May 04 '22 17:05 ffainelli

Can also confirm this works, and is required since some systems (namely, newest Ubuntu server)

IoIxD avatar Jul 21 '22 01:07 IoIxD