diff options
author | Werner Koch <wk@gnupg.org> | 2006-12-18 19:02:48 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-12-18 19:02:48 +0000 |
commit | d074ccec673b8c0460ad53a9bb5235ec8d081736 (patch) | |
tree | b3c4248daae41c9b2b102bd4bdd2c61ed9834459 /cipher/random.c | |
parent | 37ba2efc88d5c719f430fee44165e729145df7ee (diff) | |
download | libgcrypt-d074ccec673b8c0460ad53a9bb5235ec8d081736.tar.gz |
* rndlinux.c (set_cloexec_flag): New.
(open_device): Set close-on-exit flags. Suggested by Max
Kellermann. Fixes Debian#403613.
Cleaned up last Makefile changes.
Diffstat (limited to 'cipher/random.c')
-rw-r--r-- | cipher/random.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/random.c b/cipher/random.c index 528111af..a18f57cd 100644 --- a/cipher/random.c +++ b/cipher/random.c @@ -43,7 +43,7 @@ #include <sys/times.h> #endif #ifdef HAVE_GETTIMEOFDAY -#include <sys/times.h> +#include <sys/time.h> #endif #ifdef HAVE_GETRUSAGE #include <sys/resource.h> |