$NetBSD$

--- src/engine-gpgsm.c.orig	2011-01-19 11:37:44.000000000 +0000
+++ src/engine-gpgsm.c
@@ -33,6 +33,9 @@
 #ifdef HAVE_UNISTD_H
 # include <unistd.h>
 #endif
+#if HAVE_RFUNCS_H
+# include <rfuncs.h>
+#endif
 #ifdef HAVE_LOCALE_H
 #include <locale.h>
 #endif
