diff options
author | Werner Koch <[email protected]> | 2003-10-02 10:27:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2003-10-02 10:27:34 +0000 |
commit | f194ebc782424053896734699c2fc70b5ff0f14a (patch) | |
tree | 1d3c6facb5cac6bd8497c2072ef84f5a580bea2b /scd/app-openpgp.c | |
parent | * command.c (cmd_getattr): New command GETATTR. (diff) | |
download | gnupg-f194ebc782424053896734699c2fc70b5ff0f14a.tar.gz gnupg-f194ebc782424053896734699c2fc70b5ff0f14a.zip |
Fixes to make inclusion of card raleted source files into 1.3 easier.
Diffstat (limited to '')
-rw-r--r-- | scd/app-openpgp.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/scd/app-openpgp.c b/scd/app-openpgp.c index 3a312696b..e8fe19ea1 100644 --- a/scd/app-openpgp.c +++ b/scd/app-openpgp.c @@ -24,10 +24,24 @@ #include <stdlib.h> #include <string.h> #include <assert.h> - +#include <time.h> + +#if GNUPG_MAJOR_VERSION == 1 +/* This is used with GnuPG version < 1.9. The code has been source + copied from the current GnuPG >= 1.9 and is maintained over + there. */ +#include "options.h" +#include "errors.h" +#include "memory.h" +#include "util.h" +#include "i18n.h" +#include "cardglue.h" +#else /* GNUPG_MAJOR_VERSION != 1 */ #include "scdaemon.h" -#include "app-common.h" +#endif /* GNUPG_MAJOR_VERSION != 1 */ + #include "iso7816.h" +#include "app-common.h" |