Skip to content

Commit c44d4e4

Browse files
michaelolbrichahkok
authored andcommitted
missing: define GRND_NONBLOCK if needed (#17)
1 parent 12a270f commit c44d4e4

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/missing.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,7 @@ static inline int getrandom(void *buffer, size_t count, unsigned flags) {
5555
return syscall(__NR_getrandom, buffer, count, flags);
5656
}
5757
#endif
58+
59+
#ifndef GRND_NONBLOCK
60+
#define GRND_NONBLOCK 0x0001
61+
#endif

0 commit comments

Comments
 (0)