$NetBSD$

--- textio/txMain.c.orig	2006-04-10 22:03:13.000000000 +0000
+++ textio/txMain.c
@@ -22,4 +22,5 @@ static char rcsid[] __attribute__ ((unus
 #endif  /* not lint */
 
+#include <sys/types.h>
 #include <stdio.h>
 #include <string.h>
