summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-04-12 20:34:58 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-04-12 20:34:58 (GMT)
commit1b80b24007154d1f5764b1c14b95c80289cd3c34 (patch)
tree49c074bcc6dcf60bee2b15378a1d7ea254f8808c /configure
parent9d24271d86eb45ed569467cc8d6ef0f491778f26 (diff)
downloadcpython-1b80b24007154d1f5764b1c14b95c80289cd3c34.zip
cpython-1b80b24007154d1f5764b1c14b95c80289cd3c34.tar.gz
cpython-1b80b24007154d1f5764b1c14b95c80289cd3c34.tar.bz2
configure: fix HAVE_GETRANDOM_SYSCALL check
syscall() function requires #include <unistd.h>.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 6f26a36..0eff26d 100755
--- a/configure
+++ b/configure
@@ -16276,6 +16276,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+ #include <unistd.h>
#include <sys/syscall.h>
int main() {