Skip to content

Commit 07be175

Browse files
committed
Fix missing SPEED_UNKNOWN definition
Signed-off-by: Amir Rossert <[email protected]> Signed-off-by: Amir Rossert <[email protected]>
1 parent 669b672 commit 07be175

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

psutil/_psutil_linux.c

+5
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ static const int NCPUS_START = sizeof(unsigned long) * CHAR_BIT;
5858
#endif
5959

6060

61+
#ifndef SPEED_UNKNOWN
62+
#define SPEED_UNKNOWN -1
63+
#endif
64+
65+
6166
#if PSUTIL_HAVE_IOPRIO
6267
enum {
6368
IOPRIO_WHO_PROCESS = 1,

0 commit comments

Comments
 (0)