$NetBSD: patch-ae,v 1.3 2007/04/28 15:20:42 reed Exp $

--- g_dbfile.c.orig	1998-12-24 11:04:41.000000000 +0000
+++ g_dbfile.c
@@ -6,6 +6,7 @@
  */
 
 #include <X11/Xos.h>
+#include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>
