Skip to content

Commit

Permalink
configure: fix HAVE_GETRANDOM_SYSCALL check
Browse files Browse the repository at this point in the history
syscall() function requires #include <unistd.h>.
  • Loading branch information
vstinner committed Apr 12, 2016
1 parent 9d24271 commit 1b80b24
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 83 deletions.
1 change: 1 addition & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -16276,6 +16276,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <unistd.h>
#include <sys/syscall.h>
int main() {
Expand Down
Loading

0 comments on commit 1b80b24

Please sign in to comment.