Skip to content

Commit

Permalink
Fix missing SPEED_UNKNOWN definition
Browse files Browse the repository at this point in the history
Signed-off-by: Amir Rossert <amir.rossert@gmail.com>
  • Loading branch information
amirrossert committed Oct 19, 2022
1 parent 669b672 commit 3fe5603
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions psutil/_psutil_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ static const int NCPUS_START = sizeof(unsigned long) * CHAR_BIT;
#endif


#ifndef SPEED_UNKNOWN
#define SPEED_UNKNOWN -1
#endif


#if PSUTIL_HAVE_IOPRIO
enum {
IOPRIO_WHO_PROCESS = 1,
Expand Down

0 comments on commit 3fe5603

Please sign in to comment.