X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=pgppubring.c;h=baf5b1622c8b195427afdcd38a6ba8e85767e62d;hp=5d97aa6174df642fe2a50f0ded5a7661e5c61bdc;hb=c25bc063f35aaad6938c2022dae7a283346c2769;hpb=c8ceef3ed6424dcb5a6ec835e7d8d9cc00595372 diff --git a/pgppubring.c b/pgppubring.c index 5d97aa6..baf5b16 100644 --- a/pgppubring.c +++ b/pgppubring.c @@ -36,13 +36,13 @@ #include #ifdef HAVE_GETOPT_H # include -#endif -#include - +#else extern char *optarg; extern int optind; +#endif +#include -short Umask; /* dirty hack because we need Umask in lib.c but don't want globals.h there */ +short Umask; /* dirty hack because we need Umask in lib.c but don't want globals.h there */ #include "sha1.h" #include "md5.h" @@ -579,7 +579,7 @@ static pgp_key_t pgp_parse_keyblock (FILE * fp) #ifdef HAVE_FGETPOS fpos_t pos; #else - LOFF_T pos; + off_t pos; #endif pgp_key_t root = NULL; @@ -730,7 +730,7 @@ static void pgpring_find_candidates (char *ringfile, const char *hints[], #ifdef HAVE_FGETPOS fpos_t pos, keypos; #else - LOFF_T pos, keypos; + off_t pos, keypos; #endif unsigned char *buff = NULL;