--- ./src/arch/unix/xaw/widgets/RegExp.h.orig	Sat May 29 11:16:06 1999
+++ ./src/arch/unix/xaw/widgets/RegExp.h	Sat May 29 11:15:14 1999
@@ -33,6 +33,7 @@
    03/19/98 */
 #if defined __FreeBSD__ || defined __NetBSD__
 #undef HAVE_REGEXP_H
+#include <sys/types.h>
 #endif
 
 #if defined HAVE_REGEX_H      /* POSIX */
