diff options
-rw-r--r-- | lib/libcrypto/crypto/getentropy_linux.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/crypto/getentropy_linux.c b/lib/libcrypto/crypto/getentropy_linux.c index f1320d24d50..294b23037f4 100644 --- a/lib/libcrypto/crypto/getentropy_linux.c +++ b/lib/libcrypto/crypto/getentropy_linux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getentropy_linux.c,v 1.19 2014/07/12 14:46:31 deraadt Exp $ */ +/* $OpenBSD: getentropy_linux.c,v 1.20 2014/07/12 15:43:49 beck Exp $ */ /* * Copyright (c) 2014 Theo de Raadt <deraadt@openbsd.org> @@ -24,7 +24,9 @@ #include <sys/ioctl.h> #include <sys/resource.h> #include <sys/syscall.h> +#ifdef HAVE_SYS_SYSCTL_H #include <sys/sysctl.h> +#endif #include <sys/statvfs.h> #include <sys/socket.h> #include <sys/mount.h> |