16 lines
434 B
Text
16 lines
434 B
Text
$NetBSD: patch-ab,v 1.4 2007/03/17 14:39:58 joerg Exp $
|
|
|
|
--- gmime/gmime-gpg-context.c.orig 2007-03-17 14:33:47.000000000 +0000
|
|
+++ gmime/gmime-gpg-context.c
|
|
@@ -1115,7 +1115,11 @@ gpg_ctx_op_step (struct _GpgCtx *gpg, GE
|
|
const char *diagnostics, *mode;
|
|
struct pollfd pfds[GPG_N_FDS];
|
|
int ready, save;
|
|
+#if defined(__DragonFly__)
|
|
+ int n;
|
|
+#else
|
|
nfds_t n;
|
|
+#endif
|
|
|
|
for (n = 0; n < GPG_N_FDS; n++) {
|
|
pfds[n].events = 0;
|