diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-18 16:56:25 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-18 16:56:25 +0100 |
commit | 3fbb1dbd6ca47d047fb74d258269dabca285b7fb (patch) | |
tree | 0acb23724922cc2c26537081aa54dec288c8988f /src/cerberus.h | |
parent | m (diff) | |
download | libpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.gz libpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.bz2 libpassphrase-3fbb1dbd6ca47d047fb74d258269dabca285b7fb.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/cerberus.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cerberus.h b/src/cerberus.h index aeb41c2..c2ea2af 100644 --- a/src/cerberus.h +++ b/src/cerberus.h @@ -19,8 +19,15 @@ #include <stdio.h> #include <unistd.h> #include <signal.h> +#include <pwd.h> #include "passphrase.h" #include "quit.h" #include "security.h" + +/* The number of seconds before the program times out */ +#ifndef TIMEOUT_SECONDS +#define TIMEOUT_SECONDS 60 +#endif + |