Skip to content

Commit 04f1473

Browse files
rolandschulzbashbaug
authored andcommitted
Fix getpid include (#61)
1 parent 4c0edef commit 04f1473

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • samples/benchmarks/00_fileiobenchmark

samples/benchmarks/00_fileiobenchmark/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
#else
4343

4444
#include <pthread.h>
45+
#include <sys/types.h>
46+
#include <unistd.h>
4547

4648
#define GET_PROCESS_ID() getpid()
4749
#define GET_THREAD_ID() pthread_self()

0 commit comments

Comments
 (0)