diff options
Diffstat (limited to 'random')
-rw-r--r-- | random/jitterentropy.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/random/jitterentropy.h b/random/jitterentropy.h index 0a91f36a..97579bd0 100644 --- a/random/jitterentropy.h +++ b/random/jitterentropy.h @@ -393,8 +393,10 @@ int jent_entropy_switch_notime_impl(struct jent_notime_thread *new_thread); /* -- BEGIN timer-less threading support functions to prevent code dupes -- */ struct jent_notime_ctx { +#ifdef JENT_CONF_ENABLE_INTERNAL_TIMER pthread_attr_t notime_pthread_attr; /* pthreads library */ pthread_t notime_thread_id; /* pthreads thread ID */ +#endif }; #ifdef JENT_CONF_ENABLE_INTERNAL_TIMER |