$OpenBSD: patch-src_modules_X11_dataentry_c,v 1.2 2004/08/08 15:06:24 naddy Exp $
--- src/modules/X11/dataentry.c.orig	Mon Apr 19 07:33:28 2004
+++ src/modules/X11/dataentry.c	Mon Jul 26 19:13:19 2004
@@ -19,14 +19,17 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
+#include <sys/types.h>
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
 
 #include <stdlib.h>
 
+#if 0
 /* don't use X11 function prototypes (which tend to ...): */
 #define NeedFunctionPrototypes 0
+#endif
 /* XFree 4.4.0 forgets to define this if NeedFunctionPrototypes=0 */
 #ifndef _Xconst
 #define _Xconst const
