Skip to content

Commit 2d3b8ce

Browse files
committed
Include unistd.h to define _SC_NPROCESSORS_CONF
1 parent 121118a commit 2d3b8ce

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/CPUs.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "CPUs.h"
44

55
#include <sched.h>
6+
#include <unistd.h>
67

78
#include <fstream>
89
#include <filesystem>

0 commit comments

Comments
 (0)